Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (25 sloc) 0.438 kb
# Description:
# Hubot enjoys delicious snacks
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# botsnack - give the bot a food
#
# Author:
# richo
# locherm
responses = [
"Om nom nom!",
"That's very nice of you!",
"Oh thx, have a cookie yourself!",
"Thank you very much.",
"Thanks for the treat!"
]
module.exports = (robot) ->
robot.hear /botsnack/i, (msg) ->
msg.send msg.random responses
Jump to Line
Something went wrong with that request. Please try again.