Created
May 31, 2014 15:43
-
-
Save newsroomdev/c7032294b3b7abcc1cd4 to your computer and use it in GitHub Desktop.
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: | |
# Returns gif from Jeff Larson's http://jeffl.es/_/ | |
# | |
# Dependencies: | |
# Underscore | |
# | |
# Commands | |
# hubot jeffles || hubot jeffles me a random gif | |
# hubot ____ returns a specific jeffles gif | |
# | |
# Author: | |
# Gerald Rich @geraldarthur | |
_ = require("underscore") | |
images = | |
THE_INTERNET: "http://jeffl.es/_/THE-INTERNET.gif" | |
beaker_freak: "http://jeffl.es/_/beaker-freak.gif" | |
bearport: "http://jeffl.es/_/bearport.png" | |
bowers_deal_with_it: "http://jeffl.es/_/bowers-deal-with-it.gif" | |
broccoli: "http://jeffl.es/_/broccoli.gif" | |
cantelope: "http://jeffl.es/_/cantelope.jpg" | |
cookies: "http://jeffl.es/_/cookies.gif" | |
crypto_currency: "http://jeffl.es/_/crypto-currency.gif" | |
dataferret: "http://jeffl.es/_/dataferret.gif" | |
dealwiddinosaurs: "http://jeffl.es/_/dealwiddinosaurs.gif" | |
dealwithneti: "http://jeffl.es/_/dealwithneti.gif" | |
dudewat: "http://jeffl.es/_/dudewat.gif" | |
enthusiasm: "http://jeffl.es/_/enthusiasm.gif" | |
faves: "http://jeffl.es/_/faves.gif" | |
fightme: "http://jeffl.es/_/fightme.gif" | |
gitmo: "http://jeffl.es/_/gitmo.jpg" | |
highfive: "http://jeffl.es/_/letsdothis.jpg" | |
letsdothis: "http://jeffl.es/_/highfive.gif" | |
math: "http://jeffl.es/_/math.gif" | |
meltin: "http://jeffl.es/_/meltin.png" | |
nJnD26r: "http://jeffl.es/_/nJnD26r.gif" | |
nightmares: "http://jeffl.es/_/nightmares.gif" | |
nohelp: "http://jeffl.es/_/nohelp.gif" | |
nope_rocket: "http://jeffl.es/_/nope-rocket.gif" | |
nothingmatters: "http://jeffl.es/_/nothingmatters.gif" | |
omg: "http://jeffl.es/_/omg.gif" | |
opoo: "http://jeffl.es/_/opoo.gif" | |
oprahs_bees: "http://jeffl.es/_/oprahs-bees.gif" | |
programming: "http://jeffl.es/_/programming.gif" | |
robots: "http://jeffl.es/_/robots.gif" | |
sandface: "http://jeffl.es/_/sandface.gif" | |
scott_nope: "http://jeffl.es/_/scott-nope.gif" | |
space: "http://jeffl.es/_/space.gif" | |
sports: "http://jeffl.es/_/sports.gif" | |
ssss: "http://jeffl.es/_/ssss.gif" | |
stopit: "http://jeffl.es/_/stopit.gif" | |
thin_mints: "http://jeffl.es/_/thin-mints.gif" | |
tweetheart: "http://jeffl.es/_/tweetheart.jpg" | |
ugh: "http://jeffl.es/_/ugh.gif" | |
work: "http://jeffl.es/_/work.gif" | |
xfiles: "http://jeffl.es/_/xfiles.jpg" | |
yay: "http://jeffl.es/_/yay.gif" | |
module.exports = (robot) -> | |
robot.respond /(jeffles|jeffles me)/i, (msg) -> | |
msg.send msg.random _.values(images) | |
robot.respond /(the internet|internet)/i, (msg) -> | |
msg.send images.THE_INTERNET | |
robot.respond /(beaker freak|beaker)/i, (msg) -> | |
msg.send images.beaker_freak | |
robot.respond /(bearport)/i, (msg) -> | |
msg.send images.bearport | |
robot.respond /(bowers deal with it|Bowers deal with it)/i, (msg) -> | |
msg.send images.bowers_deal_with_it | |
robot.respond /(broccoli)/i, (msg) -> | |
msg.send images.broccoli | |
robot.respond /(cantelope)/i, (msg) -> | |
msg.send images.cantelope | |
robot.respond /(cookies)/i, (msg) -> | |
msg.send images.cookies | |
robot.respond /(crypto currency)/i, (msg) -> | |
msg.send images.crypto_currency | |
robot.respond /(data ferret|dataferret)/i, (msg) -> | |
msg.send images.dataferret | |
robot.respond /(deal wid dinosaurs|deal wid it dinosaurs|deal with it dinosaurs)/i, (msg) -> | |
msg.send images.dealwiddinosaurs | |
robot.respond /(deal with neti|deal with it neti)/i, (msg) -> | |
msg.send images.dealwithneti | |
robot.respond /(dude wat)/i, (msg) -> | |
msg.send images.dudewat | |
robot.respond /(enthusiasm)/i, (msg) -> | |
msg.send images.enthusiasm | |
robot.respond /(faves)/i, (msg) -> | |
msg.send images.faves | |
robot.respond /(fight me)/i, (msg) -> | |
msg.send images.fightme | |
robot.respond /(gitmo)/i, (msg) -> | |
msg.send images.gitmo | |
robot.respond /(high five)/i, (msg) -> | |
msg.send images.highfive | |
robot.respond /(lets do this)/i, (msg) -> | |
msg.send images.letsdothis | |
robot.respond /(math)/i, (msg) -> | |
msg.send images.math | |
robot.respond /(meltin)/i, (msg) -> | |
msg.send images.meltin | |
robot.respond /(smoke cat)/i, (msg) -> | |
msg.send images.nJnD26r | |
robot.respond /(nightmares)/i, (msg) -> | |
msg.send images.nightmares | |
robot.respond /(no help)/i, (msg) -> | |
msg.send images.nohelp | |
robot.respond /(nope rocket)/i, (msg) -> | |
msg.send images.nope_rocket | |
robot.respond /(nothing matters)/i, (msg) -> | |
msg.send images.nothingmatters | |
robot.respond /(omg)/i, (msg) -> | |
msg.send images.omg | |
robot.respond /(opoo)/i, (msg) -> | |
msg.send images.opoo | |
robot.respond /(oprahs bees|oprah\'s bees)/i, (msg) -> | |
msg.send images.oprahs_bees | |
robot.respond /(robots)/i, (msg) -> | |
msg.send images.robots | |
robot.respond /(sand face|sandface)/i, (msg) -> | |
msg.send images.sandface | |
robot.respond /(scott nope|nope scott)/i, (msg) -> | |
msg.send images.scott_nope | |
robot.respond /(space)/i, (msg) -> | |
msg.send images.space | |
robot.respond /(sports)/i, (msg) -> | |
msg.send images.sports | |
robot.respond /(ssss|bus stop s)/i, (msg) -> | |
msg.send images.ssss | |
robot.respond /(stop it)/i, (msg) -> | |
msg.send images.stopit | |
robot.respond /(thin mints)/i, (msg) -> | |
msg.send images.thin_mints | |
robot.respond /(tweet heart)/i, (msg) -> | |
msg.send images.tweetheart | |
robot.respond /(ugh)/i, (msg) -> | |
msg.send images.ugh | |
robot.respond /(work)/i, (msg) -> | |
msg.send images.work | |
robot.respond /(xfiles)/i, (msg) -> | |
msg.send images.xfiles | |
robot.respond /(yay)/i, (msg) -> | |
msg.send images.yay |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment