You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let's say I have a local copy of hubot running, perhaps a symlink from the node_modules directory to my local copy of hubot markov? Also with my env var set. Do I just type in some words and see if it catches them or do you have another mechanism?
My primary motivation is to reject messages with # or @ in them, in slack the # references other channels which makes weird sentences, and the @ notifies people, and when markov repeats them it actually notifies them (we've had a couple @channel's).
Thanks
The text was updated successfully, but these errors were encountered:
Hello,
I'd like to contribute a patch that ignores messages that contain a regex. However, I can't figure out how to test this package.
I want to provide a list of regexes like
/lol/,/\@/
in I guess an env var like HUBOT_MARKOV_REJECTLIST. I believe I would iterate over them and check them right after the username ignorelist https://github.com/smashwilson/hubot-markov/blob/master/src/default-listeners.coffee#L81.Let's say I have a local copy of hubot running, perhaps a symlink from the node_modules directory to my local copy of hubot markov? Also with my env var set. Do I just type in some words and see if it catches them or do you have another mechanism?
My primary motivation is to reject messages with # or @ in them, in slack the # references other channels which makes weird sentences, and the @ notifies people, and when markov repeats them it actually notifies them (we've had a couple @channel's).
Thanks
The text was updated successfully, but these errors were encountered: