Skip to content
This repository
Aaron Bassett June 26, 2012
file 36 lines (33 sloc) 0.973 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 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
Something went wrong with that request. Please try again.