lita-imgflip is a handler for Lita that generates meme images using imgflip.com. The code is based on lita-memgen.
Add lita-imgflip to your Lita instance's Gemfile:
gem "lita-imgflip"
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
Y U NO <text>
- Generates the Y U NO GUY with the bottom caption ofI 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 guygood news everyone! <news>
- Generates Professor Farnsworthkhanify <text>
- TEEEEEEEEEEEEEEEEEXT!Not sure if <text> or <text>
- Generates Futurama FryYo dawg <text> so <text>
- Generates Yo DawgALL YOUR <text> ARE BELONG TO US
- Generates Zero Wing with the caption of<text> you're gonna have a bad time
- Bad Time Ski Instructorone does not simply <text>
- Lord of the Rings Boromirgrumpy cat <text>, <text>
- Grumpy catit looks like (you|you're) <text>
- Generates ClippyAM I THE ONLY ONE AROUND HERE <text>
- The Big Lebowski<text> NOT IMPRESSED
- Generates McKayla MaroneyPREPARE YOURSELF <text>
- Generates GoTWHAT IF I TOLD YOU <text>
- Generates Morpheus<text> BETTER DRINK MY OWN PISS
- Generates Bear Gryllskhanify <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 FryYOU 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