Skip to content
Giphy handler for Lita chatbot
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
spec
.gitignore
Gemfile
Gemfile.lock
README.md
lita-giphy.gemspec

README.md

lita-giphy

lita-giphy is a handler for Lita that adds gif-searching functionality backed by Giphy.

Make gif searching fun again. 🎉

Installation

Add lita-giphy to your Lita instance's Gemfile:

gem "lita-giphy"

Configuration

Required attributes

  • api_key - Your Giphy API key. You can either email the devs for a personal API key, or you can use the default public beta key-- dc6zaTOxFJmzC.

Optional attributes

  • rating - allows you to set the rating of the gifs that are found

Example

Lita.configure do |config|
  config.handlers.giphy.api_key = "dc6zaTOxFJmzC"
  config.handlers.giphy.rating = 'g'
end

Usage

Lita: giphy swanson dance
Lita: gif me emo spiderman
Lita: animate me joffrey slap
You can’t perform that action at this time.