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:
I hereby claim:
To claim this, I am signing this object:
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) -> |