Listener middleware to answer when a user says something a bot doesn't recognise.
See src/rocketchat-default-response.coffee
for full documentation.
In hubot project repo, run:
npm install hubot-rocketchat-default-response --save
Then add hubot-rocketchat-default-response to your external-scripts.json
:
["hubot-rocketchat-default-response"]
user1>> hubot ping
hubot>> Pong
user1>> hubot pong
hubot>> Sorry I don't understand
Set environment variables to change behavior
DEFAULT_RESPONSE
String, what the bot says when no other listeners fire (set empty string to disable)