Skip to content

Bot that stores memes in different formats and lets you send them via inline message

Notifications You must be signed in to change notification settings

Ironjanowar/meme_bot

Repository files navigation

MemeCacheBot

Use of the @meme_cache_bot

Just start a conversation with @meme_cache_bot in Telegram.

Send a meme in any of these formats:

  • Sticker
  • GIF
  • Photo
  • Video

If you don't have the meme saved, the bot will ask if you want to save it Save Button

If you have the meme saved, the bot will ask if you want to delete it Delete Button

Once you have a meme saved, you just need to use the bot inline. Write in any chat @meme_cache_bot and It will show you your cached memes!

Pagination

If you have more than 50 memes you'll have more than one page of memes, write the number of the page you want to see after the bot name. For example: @meme_cache_bot 2

Pagination

Deploy your own meme bot

  • Create a bot.token file with a bot token in the root of the project
  • Compile the bot executing make compile
  • Create and migrate a database with make db_setup, check the config/config.exs file to set up your own database
  • Execute the bot opening an iex interpreter with make iex
  • (Optional) Create a release with make release
  • (Optional) Execute the release with make start and stop it with make stop

The logs will be written into files, to see the logs execute:

  • make debug_logs to show all the logs
  • make error_logs to show error level logs only

About

Bot that stores memes in different formats and lets you send them via inline message

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published