- In file main.py:
1. [27 line]: paste your tg token.
2. [37 line]: paste your webhook url
- In database/config.py:
[4 line]: paste your DB config (template you can find in the sqlalchemy documentaion)
-
Create venv and install requirements
-
Exec
python3 ./main.py
-
Go to bot and click start. After this go to your db and set rule is_admin to 1 beside your user column. Type /start into your bot again.
Locales in file localisation.py (default language: ru)