case insensitive

This commit is contained in:
Tommy
2015-12-23 08:19:46 -05:00
parent 2e0aec187d
commit 8ee077385c

View File

@@ -29,7 +29,7 @@ module.exports = (robot) ->
#
# lulz = ['lol', 'rofl', 'lmao']
#
robot.hear /(job|jerbs|jerb)/, (res) ->
robot.hear /(job|jerbs|jerb)/i, (res) ->
res.send "http://www.edugeek.net/attachments/forums/general-chat/32142d1442315624-will-robot-take-your-job-bbc-news-humans_jerbs.jpg"
robot.respond /dance/i, (res) ->
res.send "http://tparnell.blob.core.windows.net/hubot/imageedit_6_9390856511.gif"