hubot-privileges
v1.0.5
Published
Sometimes hubot gets abused. Stop the abuse by taking hubot away from them
Downloads
4
Readme
Hubot Privilege
Hubot is so smart! He can ignore you and your friends.
Installation
- install this npm package to your hubot repo
npm i --save hubot-privilege
- add
"hubot-privilege"
to yourexternal-scripts.json
Usage
Ignore a User
hubot ignore foo
Hubot will not respond to messages from "foo" user.
hubot ignore me
Hubot will not respond to messages from you.
Forgive a User
hubot forgive foo
Hubot starts to respond to messages from "foo" user.
hubot forgive me
Hubot starts to respond to messages from you.
Privilege Table
hubot privilege
Hubot shows the privilege table.
hubot privilege clear
Hubot clears the privilege table.
TODO
- Add group
- Add privilege for specific action
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Copyright
Copyright (c) 2014 Daisuke Taniwaki. See LICENSE for details.