Skip to content
This repository has been archived by the owner on Jun 8, 2023. It is now read-only.

Commit

Permalink
use hear instead of respond
Browse files Browse the repository at this point in the history
  • Loading branch information
BM5k committed Mar 20, 2012
1 parent 298674b commit 007d227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/archer.coffee
Expand Up @@ -32,7 +32,7 @@ module.exports = (robot) ->
robot.hear "I love that you know how to do that.", (msg) ->
msg.reply "And I love that I have an erection... that doesn't involve homeless people."

robot.respond /archer quote$/i, (msg) ->
robot.hear /archer/i, (msg) ->
msg
.http("http://en.wikiquote.org/wiki/Archer_(TV_series)")
.header("User-Agent: Archerbot for Hubot (+https://github.com/github/hubot-scripts)")
Expand Down

0 comments on commit 007d227

Please sign in to comment.