Add some customizations and fun things.
This commit is contained in:
9
scripts/custom.coffee
Normal file
9
scripts/custom.coffee
Normal file
@@ -0,0 +1,9 @@
|
||||
# Description:
|
||||
# Personalizations and stuff.
|
||||
|
||||
module.exports = (robot) ->
|
||||
robot.respond /[iI] love you/, (msg) ->
|
||||
msg.send "I love you too, #{msg.envelope.user.real_name}!"
|
||||
|
||||
robot.respond /say bye/, (msg) ->
|
||||
msg.send "Goodbye, cruel world!"
|
||||
Reference in New Issue
Block a user