Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am calebgroom on github.
  • I am calebgroom (https://keybase.io/calebgroom) on keybase.
  • I have a public key ASBmKNCkjep-QEovOK2ilXPADXCaEmm2VAc7dPR_vQ1a7go

To claim this, I am signing this object:

@calebgroom
calebgroom / gist:0e170871a2e20ed5ec41
Last active August 29, 2015 14:11
Rickshaw Facts Hubot Script
module.exports = (robot) ->
robot.hear /rickshaw\?/i, (msg) ->
url = "http://replygif.net/api/gifs?tag=yes&api-key=39YAprx5Yi"
robot.http(url)
.get() (err, res, body) ->
data = JSON.parse(body)
gifs = (item.file for item in data)
msg.send msg.random gifs
robot.hear /rickshaw/i, (msg) ->