0.1.2 • Published 10 years ago

hubot-djif v0.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
10 years ago

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.

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago