It is a telegram bot that squares any images the user sends to it. Bot provides an option of 2 colours which are Black and White, to be used as the background.
-
Fork the repository
-
Download the contents via github or clone the repo.
- For cloning
- Copy the link in
Clone or Download
option - Open terminal and change into prefered directory
git clone <url>
-
Install required packages
pip insrall -r requirements.txt
-
Open bot.py file
-
On line 8 replace:
updater = Updater(token='TOKEN', use_context=True)
withupdater = Updater(token='<VALID TOKEN HERE>', use_context=True)
-
You are good to go now!
- Python-telegram-bot
- Pillow
- os