Skip to content

A Lita handler for generating meme images using imgflip.com.

License

Notifications You must be signed in to change notification settings

dfabarbosa/lita-imgflip

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lita-imgflip

Build Status Code Climate Coverage Status

lita-imgflip is a handler for Lita that generates meme images using imgflip.com. The code is based on lita-memgen.

Installation

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

gem "lita-imgflip"

Configuration

You will need to register an account on imgflip.com and provide the username/password for the account.

Lita.configure do |config|

  # This requires that all memes be sent as commands. If this is false, the bot will listen in the channel
  config.handlers.imgflip.command_only = true

  config.handlers.imgflip.username = 'username'
  config.handlers.imgflip.password = 'password'
end

Usage

  • Y U NO <text> - Generates the Y U NO GUY with the bottom caption of
  • I don't always <something> but when i do <text> - Generates The Most Interesting man in the World
  • <text> (SUCCESS|NAILED IT) - Generates success kid with the top caption of
  • <text> ALL the <things> - Generates ALL THE THINGS
  • <text> TOO DAMN <high> - Generates THE RENT IS TOO DAMN HIGH guy
  • good news everyone! <news> - Generates Professor Farnsworth
  • khanify <text> - TEEEEEEEEEEEEEEEEEXT!
  • Not sure if <text> or <text> - Generates Futurama Fry
  • Yo dawg <text> so <text> - Generates Yo Dawg
  • ALL YOUR <text> ARE BELONG TO US - Generates Zero Wing with the caption of
  • <text> you're gonna have a bad time - Bad Time Ski Instructor
  • one does not simply <text> - Lord of the Rings Boromir
  • grumpy cat <text>, <text> - Grumpy cat
  • it looks like (you|you're) <text> - Generates Clippy
  • AM I THE ONLY ONE AROUND HERE <text> - The Big Lebowski
  • <text> NOT IMPRESSED - Generates McKayla Maroney
  • PREPARE YOURSELF <text> - Generates GoT
  • WHAT IF I TOLD YOU <text> - Generates Morpheus
  • <text> BETTER DRINK MY OWN PISS - Generates Bear Grylls
  • khanify <text> - Generates Captain Kirk
  • <text> THAT WOULD BE GREAT - generates Bill Lumbergh
  • <text> AIN'T NOBODY GOT TIME FOR THAT - generates Sweet Brown
  • <text> I TOO LIKE TO LIVE DANGEROUSLY - generates I Too Like to Live Dangerously
  • <text> SHUT UP AND TAKE MY MONEY - generates Shut Up and Take My Money Fry
  • YOU KNOW WHAT REALLY GRINDS MY GEARS? <text> - "generates Peter Griffin News
  • "<text> CHALLENGE ACCEPTED" - generates Challenge Accepted guy
  • "YOUR <text> IS BAD" - generates Zoidberg Your x is bad and you should feel bad

License

MIT

About

A Lita handler for generating meme images using imgflip.com.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Ruby 100.0%