A Hubot plugin to give users a HR violation yellow card.
For every 10 yellow cards somebody receives, a red card will be thrown out to that person. Shame on you.
hubot warn <name> - Give somebody an HR yellow card.
hubot warn stats - Print out a list of who all has received warnings, and how many.
npm install hubot-hr-warning --save
- Add
"hubot-hr-warning"
to yourexternal-scripts.json
file. - Reboot Hubot.
Note that if you want warning stats to persist, you need to have a database hooked up to your Hubot instance (via a brain).