1.0.1 • Published 7 years ago
hubot-freetacos v1.0.1
hubot-freetacos
Give (or take away) tacos from Slack users, all from the comfort of your personal Hubot.
API
@name :taco:- add a taco (up to 5) to@name(must be user)@name :tacobell:- add 5 tacos to@name(must be user)@name :poop:- remove a taco (up to 5) from@name(must be user)@name :poop_fire:- minus 5 tacos to@name(must be user)hubot erase-tacos @name- erase tacos from scoreboard for@name(permanently deletes thing from memory)hubot top-tacos 10- show the top 10, with a graph of taco countshubot bottom-tacos 10- show the bottom 10, with a graph of taco countshubot tacos @name- check the taco count for@name
Uses Hubot brain.
Installation
Run the following command
$ npm install hubot-freetacosThen to make sure the dependencies are installed:
$ npm installTo enable the script, add a hubot-freetacos entry to the external-scripts.json
file (you may need to create this file).
["hubot-freetacos"]