This repository has been archived by the owner. It is now read-only.
Permalink
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (18 sloc) 308 Bytes
# 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!"