Created
November 8, 2013 19:45
-
-
Save dieseltravis/7376518 to your computer and use it in GitHub Desktop.
this is a plugin script for hubot, I'd like to share it, but I'm too lazy to fork and build a whole module just to share a few lines of code
This file contains 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: | |
# TREAT | |
# YO | |
# SELF | |
# | |
# Dependencies: | |
# None | |
# | |
# Configuration: | |
# None | |
# | |
# Commands: | |
# hubot treat yo self - TREAT YO SELF | |
# | |
# Author: | |
# dieseltravis | |
module.exports = (robot) -> | |
robot.respond /treat\s*yo\s*self/i, (msg) -> | |
images = [ | |
"http://i.imgur.com/2gVlI1a.gif", | |
"http://i.imgur.com/9zn1u7t.jpg", | |
"http://i.imgur.com/qJ6eWFe.png", | |
"http://i.imgur.com/kG0M4Of.jpg", | |
"http://i.imgur.com/9QBoMrU.gif", | |
"http://i.imgur.com/rrht9KR.png", | |
"http://i.imgur.com/7y4w2yU.gif", | |
"http://i.imgur.com/vrEljm3.gif", | |
"http://i.imgur.com/nXOxW8i.jpg", | |
"http://i.imgur.com/n8AWoUV.jpg", | |
"http://i.imgur.com/lzHRGBy.gif", | |
"http://i.imgur.com/lZ7e8ob.jpg", | |
"http://i.imgur.com/giaBuj7.jpg", | |
"http://i.imgur.com/gS1n6pP.jpg", | |
"http://i.imgur.com/D4zk3PV.png", | |
"http://i.imgur.com/Z11AaxI.jpg", | |
"http://i.imgur.com/aZPrDcV.gif"] | |
msg.send msg.random images |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment