Created
May 9, 2013 17:28
-
-
Save sirbrad/5549064 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Description: | |
# Decide who's making the next round of tea | |
# | |
# Commands: | |
# hubot brew roulette | |
# | |
taunts = [ | |
", you are the chosen one my friend.", | |
", it's time to make a brew!", | |
", stop what you're doing right now! Your team need a brew!", | |
", do you want the team to die of thirst? Choppidy Chop!" | |
] | |
module.exports = (robot) -> | |
robot.respond /brew roulette/i, (msg) -> | |
taunt = msg.random taunts | |
for i, user of robot.brain.data.users | |
msg.send user.name + taunt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment