Skip to content

Instantly share code, notes, and snippets.

@itsthatguy
Created May 9, 2014 15:02
Show Gist options
  • Select an option

  • Save itsthatguy/c9194a977c41b6548377 to your computer and use it in GitHub Desktop.

Select an option

Save itsthatguy/c9194a977c41b6548377 to your computer and use it in GitHub Desktop.
# Description:
# john is the most important thing in your life
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
# hubot john bomb - get johns
johns = [
"http://thesassway.com/images/authors/john-w-long.jpeg"
"http://wiseheartdesign.com/images/john16.jpg"
"https://pbs.twimg.com/profile_images/437805879610445825/KIaR8THs.jpeg"
]
module.exports = (robot) ->
robot.respond /john bomb( (\d+))?/i, (msg) ->
msg.send john for john in johns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment