hubot-djif

v0.1.2
Post a random GIF with #djif <search>
hubot hipchat djif gif giphy

Djif — Not pronounced Gif

Posts GIF with #djif <search> in your Slack channels and HipChat rooms.
It was, at first, a port of Bold’s GifBot. Give them a shout-out!

Slack

Add an Outgoing Webhook integration to your Slack account.

Bonus: Here’s the avatar that we use for the bot.

Djif Slack

HipChat

Add hubot-djif to your Hubot package.json file

"dependencies": {
  "hubot":         ">= 2.6.0 < 3.0.0",
  "hubot-scripts": ">= 2.5.0 < 3.0.0",
  "hubot-djif":    "0.1.2"
}

Then add ["hubot-djif"] to your external-scripts.json file.
Restart/deploy Hubot. He will be listening to #djif <search>.

Djif HipChat

Development

You’ll need a .env file with the GIPHY_API_KEY variable. You can use this one for development purpose, this is the public API key. It is however subject to rate limit constraints, see https://github.com/giphy/GiphyAPI#access-and-api-keys.

GIPHY_API_KEY=dc6zaTOxFJmzC

Run the server with foreman start.

npm i hubot-djif

Metadata

  • MIT
  • Whatever
  • Etienne Lemay
  • released 5/14/2014

Downloads

Maintainers