Permalink
Browse files

Add 'What is this shit?' script

  • Loading branch information...
1 parent 66013e1 commit f52f5a6cd6c38afc8f3a6c260d1ab73a917ff26a @aaronbassett aaronbassett committed Jun 26, 2012
Showing with 35 additions and 0 deletions.
  1. +35 −0 src/scripts/wits.coffee
View
@@ -0,0 +1,35 @@
+# Description
+# When Hubot hears anyone say "What is this shit?"
+# it responds with a relevant meme image
+#
+# Dependencies:
+# None
+#
+# Configuration:
+# None
+#
+# Commands:
+# wtf is this shit - responds with a random WITS image
+# what the hell is this crap - responds with a random WITS image
+# what the fuck is that poop - responds with a random WITS image
+#
+# Author:
+# aaronbassett
+
+witimgs = [
+ "http://i.imgur.com/g5GET.jpg",
+ "http://i.imgur.com/HSSmy.jpg",
+ "http://i.imgur.com/wVIkb.jpg",
+ "http://i.imgur.com/a6uNS.jpg",
+ "http://i.imgur.com/QDEtx.jpg",
+ "http://i.imgur.com/gED5u.jpg",
+ "http://i.imgur.com/u6dvm.jpg",
+ "http://i.imgur.com/TEtBW.jpg",
+ "http://i.imgur.com/MMqJW.jpg",
+ "http://i.imgur.com/4aa9h.jpg",
+ "http://i.imgur.com/b3nmR.jpg"
+]
+
+module.exports = (robot) ->
+ robot.hear /(what|wtf|what the fuck|wth|what the hell) is (this|that) (shit|crap|poop)/i, (msg) ->
+ msg.send msg.random witimgs

0 comments on commit f52f5a6

Please sign in to comment.