UNPKG

hubot-scripts

Version:

Allows you to opt in to a variety of scripts

36 lines (33 loc) 973 B
# 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