Skip to content

arkits/Sticker2PictureBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@Sticker2PictureBot

http://t.me/sticker2picturebot


About

Ever wanted to send Telegram stickers as pictures to other chats? Now you can!

This is a Telegram Bot based on python-telegram-bot. You send it a sticker and it will reply you with the sticker converted into a PNG. How handy?!

Setup and Deployment

  • Clone the repo.
  • Create Python VirtualEnv.
python3 -m venv .env
source .env/bin/activate
  • Install required dependencies.
pip install -r requirements.txt
  • Create a config.py in /src/.
# Telegram Bot API Token
tg_bot_token = "YOUR-TG-BOT-API-TOKEN-HERE"
  • Run it!
# Run locally...
python bot.py

# Run in prod...
./run_prod.sh