tennu-giphy
v2.0.3
Published
A plugin for the tennu IRC framework, uses giphy API.
Downloads
10
Readme
tennu-gihpy
A plugin for the tennu irc framework.
Add a slack-like Giphy command to your Tennu IRC bot.
- Docs https://developers.giphy.com/docs/api/
- Client https://www.npmjs.com/package/giphy-api
Commands
- !giphy (or !gif, !giph) [-g|-pg|-pg13|-r|-y|-unrated|-nsfw] []: Get a random gif, or search for a single gif, optionally specify rating.
Configuration
{ "giphy": { ....
- api-key: (can use env GIPHY_API_KEY instead)
- minRating: (when a rating is not specified, default to this)
Installing Into Tennu
See Downloadable Plugins here.
Tests
Set an API key and run npm test
.
TODO
- Add support for rating in the config.