hubot-rocketchat-default-response
Listener middleware to answer when a user says something a bot doesn't recognise.
Last updated 4 years ago by timkinnane .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hubot-rocketchat-default-response 
SYNC missed versions from official npm registry.

hubot-rocketchat-default-response

NPM version

Listener middleware to answer when a user says something a bot doesn't recognise.

See src/rocketchat-default-response.coffee for full documentation.

Installation

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"]

Sample Interaction

user1>> hubot ping
hubot>> Pong
user1>> hubot pong
hubot>> Sorry I don't understand

Configuration

Set environment variables to change behavior

DEFAULT_RESPONSE String, what the bot says when no other listeners fire (set empty string to disable)

Current Tags

  • 0.0.1                                ...           latest (4 years ago)

1 Versions

  • 0.0.1                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 1
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |