🇷🇺 README на русском доступен здесь
A simple Telegram bot which uses Telegram Forums feature to separate different users to different topics. This bot is the result of evolution of my simple stateless feedback bot.
- Python 3.11
- PostgreSQL 17
- aiogram 3.x
- SQLAlchemy 2.x
- psycopg3 (aka psycopg)
and more...
- Clone this repo to your server and
cd
into it. - Clone
settings.example.toml
assettings.toml
and fill the variables. - Clone
docker-compose.example.yml
asdocker-compose.yml
and edit PostgreSQL-related values to match those fromsettings.toml
. - Pick an example language
.ftl
file frombot/locale/examples
, edit to your choice, then place it somewhere and specify its path indocker-compose.yml
underbot
service. - Run the bot with migrations:
docker compose --profile migrate up --build
.