Skip to content

Instantly share code, notes, and snippets.

@skalnik
Created October 26, 2011 18:37
Show Gist options
  • Save skalnik/1317322 to your computer and use it in GitHub Desktop.
Save skalnik/1317322 to your computer and use it in GitHub Desktop.
# Just a simple script that makes Hubot respond like the famous XKCD comic
#
# make me <something> - "What? Make it yourself."
# sudo make me <something> - "Okay."
module.exports = (robot) ->
robot.respond /make( me)? (.+)/i, (msg) ->
msg.send "What? Make it yourself."
robot.respond /sudo make( me)? (.+)/i, (msg) ->
msg.send "Okay."
@wallace
Copy link

wallace commented Oct 26, 2011

Ha! Love it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment