hubot-taboo-topics
v1.0.1
Published
Complain when taboo topics are mentioned
Downloads
3
Readme
hubot-taboo-topics
Hubot reacts when taboo topics are mentioned.
Installation
In a hubot project repository, run:
npm install hubot-taboo-topics --save
Then add hubot-taboo-topics to your external-scripts.json
:
[
"hubot-taboo-topics"
]
Configuring
hubot-taboo-topics is configured by one environment variables:
HUBOT_TABOO_FREQUENCY
- optional, the percentage of times that hubot will respond to mentions of the taboo terms. (integer, 0-100)
You can customize the response text. Copy the file data.json from here to a
file named hubot-taboo-topics-data.json
in your hubot project folder. Then
make the changes you want.
Sample interaction
user> hubot taboo election
hubot> Election is now taboo
user> @Bob we'll take that up after the election
hubot> What is this election you speak of?
Testing
To test this script interactively, run:
npm start