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

Commit e210e86

Browse files
committed
Correct collision between beer advocate and beerme
1 parent 1de5575 commit e210e86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/scripts/beeradvocate.coffee

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
# None
1212
#
1313
# Commands:
14-
# hubot beer me - returns the latest beer discussed on beer advocate with picture
14+
# hubot beer advocate me - returns the latest beer discussed on beer advocate with picture
1515
#
1616
# Author:
1717
# whyjustin
1818

1919
module.exports = (robot) ->
20-
robot.respond /beer (a|advocate)?( me)?/i, (msg) ->
20+
robot.respond /beer (a|advocate)( me)?/i, (msg) ->
2121
msg.http("http://beeradvocate.com/beer/")
2222
.get() (err, res, body) ->
2323
if (res.statusCode == 200)

0 commit comments

Comments
 (0)