Skip to content
Browse files

Merge pull request #536 from mbleigh/master

Adds "One does not simply" meme to meme_generator
  • Loading branch information...
2 parents ce25e36 + 39bee9d commit eec27cd2e71ed677a2a74a953e48e5c1d1b72082 @technicalpickles technicalpickles committed Aug 30, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/scripts/meme_generator.coffee
View
5 src/scripts/meme_generator.coffee
@@ -25,6 +25,7 @@
# hubot <text> FUCK YOU - Angry Linus
# hubot (Oh|You) <text> (Please|Tell) <text> - Willy Wonka
# hubot <text> you're gonna have a bad time - Bad Time Ski Instructor
+# hubot one does not simply <text> - Lord of the Rings Boromir
#
# Author:
# skalnik
@@ -92,6 +93,10 @@ module.exports = (robot) ->
memeGenerator msg, 825296, 3786537, msg.match[1], msg.match[2], (url) ->
msg.send url
+ robot.respond /(one does not simply) (.*)/i, (msg) ->
+ memeGenerator msg, 274947, 1865027, msg.match[1], msg.match[2], (url) ->
+ msg.send url
+
memeGenerator = (msg, generatorID, imageID, text0, text1, callback) ->
username = process.env.HUBOT_MEMEGEN_USERNAME
password = process.env.HUBOT_MEMEGEN_PASSWORD

0 comments on commit eec27cd

Please sign in to comment.
Something went wrong with that request. Please try again.