Skip to content
This repository
Kyle Kelley
file 28 lines (25 sloc) 0.438 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
# 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
Something went wrong with that request. Please try again.