Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

20 lines (18 sloc) 0.308 kb
# 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!"
Jump to Line
Something went wrong with that request. Please try again.