It uses the Flask microframework and the python-telegram-bot library. It's based on this example, uses a slightly modified version of this perl script and pickledb for basic persistence.
Please also check out my other bots, GitBot and Welcome Bot.
The file is prepared to be run by anyone by filling out the blanks in the configuration. The bot currently runs on @jh0ker_texbot
- Python 3.5 (may work with earlier versions, untested)
- python-telegram-bot module (tested with version 5.2.0)
- ImageMagick (tested with version 6.7.2-7)
You also need to fulfill the perl scripts' requirements, found at the bottom of it's page at fourmilab.ch
- Install the script
- Edit TOKEN bot.py
- Follow Bot instructions