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

fix achewood problems #1122

Merged
merged 1 commit into from
Sep 6, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/scripts/achewood.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ module.exports = (robot) ->
msg.send "http://achewood.com" + comic.src + "#.png"
msg.send comic.title

robot.respond /achewood\s?((?:0[1-9]|1[0-2]).?(?:0[1-9]|[1-2][0-9]|3[0-1]).?(?:20\d{2})$|.*)?/i, (msg) ->
robot.respond /achewood\s?((?:0[1-9]|1[0-2]).?(?:0[1-9]|[1-2][0-9]|3[0-1]).?(?:20\d{2})$|.*)?/i, (msg) ->
arg = msg.match[1]
if arg == undefined
msg.http("http://www.ohnorobot.com/random.pl?comic=636")
Expand Down