Skip to content

dfabarbosa/lita-giphy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Giphy handler for Lita chatbot

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • Ruby 100.0%