Skip to content
This repository
Tom Bell June 09, 2012
file 20 lines (18 sloc) 0.308 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
# Description:
# None
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
#
# Author:
# cgarvis

module.exports = (robot) ->
  robot.hear /^(sweet|dude)!/i, (msg) ->
    switch msg.match[1].toLowerCase()
      when "sweet" then msg.send "Dude!"
      when "dude" then msg.send "Sweet!"
Something went wrong with that request. Please try again.