Skip to content

Instantly share code, notes, and snippets.

@brianfernalld
Created May 7, 2014 22:49
Show Gist options
  • Select an option

  • Save brianfernalld/c0351bf195797242a4bd to your computer and use it in GitHub Desktop.

Select an option

Save brianfernalld/c0351bf195797242a4bd to your computer and use it in GitHub Desktop.

Revisions

  1. brianfernalld created this gist May 7, 2014.
    29 changes: 29 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,29 @@
    # 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