Permalink
Browse files

turns out this is annoying unless you ask for it

  • Loading branch information...
atmos committed Oct 28, 2011
1 parent 78a4e3a commit 7ac7df2de64b461416c29882efa7d769fda53416
Showing with 5 additions and 5 deletions.
  1. +1 −1 package.json
  2. +4 −4 src/scripts/meme_generator.coffee
View
@@ -1,6 +1,6 @@
{
"name": "hubot-scripts",
- "version": "1.1.1",
+ "version": "1.1.2",
"author": "hubot",
"keywords": "hubot plugin scripts campfire bot robot",
"description": "Allows you to open in to a variety of scripts",
@@ -12,21 +12,21 @@
#
module.exports = (robot) ->
- robot.hear /Y U NO (.+)/i, (msg) ->
+ robot.respond /Y U NO (.+)/i, (msg) ->
caption = msg.match[1] || ""
memeGenerator msg, 2, 166088, "Y U NO", caption, (url) ->
msg.send url
- robot.hear /(I DON'?T ALWAYS .*) (BUT WHEN I DO .*)/i, (msg) ->
+ robot.respond /(I DON'?T ALWAYS .*) (BUT WHEN I DO .*)/i, (msg) ->
memeGenerator msg, 74, 2485, msg.match[1], msg.match[2], (url) ->
msg.send url
- robot.hear /(.*)(O\s?RLY\??.*)/i, (msg) ->
+ robot.respond /(.*)(O\s?RLY\??.*)/i, (msg) ->
memeGenerator msg, 920, 117049, msg.match[1], msg.match[2], (url) ->
msg.send url
- robot.hear /(.*)(SUCCESS|NAILED IT.*)/i, (msg) ->
+ robot.respond /(.*)(SUCCESS|NAILED IT.*)/i, (msg) ->
memeGenerator msg, 121, 1031, msg.match[1], msg.match[2], (url) ->
msg.send url

0 comments on commit 7ac7df2

Please sign in to comment.