summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Kinkade <nath@nkinka.de>2017-05-09 10:06:26 -0600
committerNathan Kinkade <nath@nkinka.de>2017-05-09 10:06:26 -0600
commit64449fb99c85c1ebe7ea09e84490d32e7cfde48d (patch)
treed00d0a59d5782002676fd68a75eb7baea05a56a9
parent6ddac360d726dba8f87b0b8fb2c15b49841a5535 (diff)
Replaces erroneous duplicate instance of 'cowsay' with 'help'.
-rw-r--r--dc-foodtrucks.coffee2
1 files changed, 1 insertions, 1 deletions
diff --git a/dc-foodtrucks.coffee b/dc-foodtrucks.coffee
index 99e5f4b..18b98b0 100644
--- a/dc-foodtrucks.coffee
+++ b/dc-foodtrucks.coffee
@@ -31,5 +31,5 @@ module.exports = (robot) ->
robot.respond /cowsay/i, (msg) ->
exec '/usr/games/fortune | /usr/games/cowsay', (err, stdout, stderr) ->
msg.send "```#{stdout}```"
- robot.respond /cowsay/i, (msg) ->
+ robot.respond /help/i, (msg) ->
msg.send "I know three commands: 'gimme', 'cowsay' and 'help'"