Created
May 9, 2014 15:02
-
-
Save itsthatguy/c9194a977c41b6548377 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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