Superadmin Chat Bot Supports Python 3.6+
We create a virtual environment with Python 3 and installing dependencies
virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
- You need to talk to BotFather as described here and get an API token.
Also you need to disable privacy by sending BotFather command
/setprivacy
- Edit the bot/config.py file. And we setup your configuration.
- To create a table in the database, edit the line in main.py:
conn = loop.run_until_complete(create_conn(**DB, create_table=True))