1.0.1 • Published 8 years ago

hubot-taboo-topics v1.0.1

Weekly downloads
3
License
ISC
Repository
github
Last release
8 years ago

hubot-taboo-topics

NPM version Build Status Dependency Status Coverage Status

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
1.0.1

8 years ago

1.0.0

8 years ago