Created
May 7, 2014 22:49
-
-
Save brianfernalld/c0351bf195797242a4bd to your computer and use it in GitHub Desktop.
Hubot Script - Carlton.coffee
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: | |
# Carlton Celebration | |
# | |
# Dependencies: | |
# None | |
# | |
# Configuration: | |
# None | |
# | |
# Commands: | |
# carlton or dancing queen or klarpnick - Display a dancing Carlton | |
# | |
# Author: | |
# pingles and fernland | |
carltons = [ | |
"http://media.tumblr.com/tumblr_lrzrlymUZA1qbliwr.gif", | |
"http://web.archive.org/web/20121119111926/http://3deadmonkeys.com/gallery3/var/albums/random_stuff/Carlton-Dance-GIF.gif", | |
"http://gifsoup.com/webroot/animatedgifs/987761_o.gif", | |
"http://s2.favim.com/orig/28/carlton-banks-dance-Favim.com-239179.gif", | |
"http://gifsoup.com/webroot/animatedgifs/131815_o.gif", | |
"http://media.giphy.com/media/r0XKA03tGOrGU/giphy.gif", | |
"http://media.giphy.com/media/BiDhNXcw1alXy/giphy.gif", | |
"http://media.giphy.com/media/eS8KpVTznwBpe/giphy.gif" | |
] | |
module.exports = (robot) -> | |
robot.hear /\b(carlton|dancing queen|klarpnick)\b/i, (msg) -> | |
msg.send msg.random carltons |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment