hubot-react v4.1.3
hubot-react
Train hubot to react to certain terms. Multiple responses to the same term are allowed. One will be selected at-random.
Bob: hubot react homestar seriously.
Hubot: reacting to homestar with seriously.
...
Alice: Homestar Runner is the best.
Hubot: seriously.Matching
It currently uses natural's PorterStemmer to match words regardless of conjugation, tense, etc. This is almost certainly going to change as I experiment with it more.
Configuration
Store size
Remember at most N messages (default 200).
HUBOT_REACT_STORE_SIZE=NThrottle expiration
Throttle responses to the same terms for N seconds (default 300).
HUBOT_REACT_THROTTLE_EXPIRATION=NInitialization timeout
Wait for N milliseconds for hubot to initialize and load brain data from redis. (default 10000)
HUBOT_REACT_INIT_TIMEOUT=NCommands
React (single-word term)
Tell hubot to react with <response> when it hears <term>.
hubot react <term> <response>React (multi-word term)
Tell hubot to react with <response> when it hears <term>.
hubot react "<term>" <response>Ignore
Tell hubot to forget the last <term> <response> pair that was uttered.
hubot ignore that9 years ago
9 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago