Skip to content

Instantly share code, notes, and snippets.

@brianfernalld
Created May 7, 2014 22:49
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brianfernalld/c0351bf195797242a4bd to your computer and use it in GitHub Desktop.
Save brianfernalld/c0351bf195797242a4bd to your computer and use it in GitHub Desktop.
Hubot Script - Carlton.coffee
# 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