python3.12
sqlalchemy
psycopg2
logging
poetry
-
Clone repository
-
Activate
poetry
and install dependencies
poetry install && poetry shell
-
Fill
.env
file by your data -
Change folder
cd src/
-
Add your code!
-
Run bot
python3 bot.py
- Fill
.env
file withpostgresql
data of your db server - Uncomment the database initialization in the
bot.py
file - Uncomment
models
import inhandlers/__init__.py
- Uncomment middleware import in
bot.py
and middleware connect