Skip to content

titanfat/telegram-memebot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lita-meme_generate

Build Status Coverage Status

Installation

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

gem "lita-meme_generate"

Configuration

# setup telegram adapter, gem 'lita-telegram-plus', add telegram token environments
  config.robot.adapter = :telegram_plus
  config.adapters.telegram_plus.token = ENV['TELEGRAM_TOKEN']
  # Register Imgflip to indicate the specify your login details to the API, and add to the surroundings
  config.handlers.meme_generate.api_user = ENV['IMGFLIP_USERNAME']
  config.handlers.meme_generate.api_password = ENV['IMGFLIP_PASSWORD']

Usage

Adding meme templates

add_meme( template_id: template id add, pattern:  regular expression for route add,
								 help: {'help command text' => 'description'})

About

Telegram meme bot, Imgflip API

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages