https://github.com/MasterGroosha/telegram-feedback-bot-topics
Пример бота обратной связи с использованием БД и «форумов» в Telegram
https://github.com/MasterGroosha/telegram-feedback-bot-topics
Last synced: 7 months ago
JSON representation
Пример бота обратной связи с использованием БД и «форумов» в Telegram
- Host: GitHub
- URL: https://github.com/MasterGroosha/telegram-feedback-bot-topics
- Owner: MasterGroosha
- License: mit
- Created: 2023-03-13T02:00:52.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2025-02-06T23:38:32.000Z (over 1 year ago)
- Last Synced: 2025-02-07T00:24:21.946Z (over 1 year ago)
- Language: Python
- Size: 161 KB
- Stars: 55
- Watchers: 4
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Telegram Feedback Bot - II
> 🇷🇺 README на русском доступен [здесь](README.ru.md)
⚠️ **Warning**: project is still under development, use with caution.
[Issues](https://github.com/MasterGroosha/telegram-feedback-bot-topics/issues) are greatly appreciated!
A simple Telegram bot which uses [Telegram Forums](https://telegram.org/evolution#october-2022) feature to
separate different users to different topics. This bot is the result of evolution of my
[simple stateless feedback bot](https://github.com/MasterGroosha/telegram-feedback-bot).
## Used technology
* Python 3.11
* PostgreSQL 17
* aiogram 3.x
* SQLAlchemy 2.x
* psycopg3 (aka psycopg)
and more...
## Run
* Clone this repo to your server and `cd` into it.
* Clone `settings.example.toml` as `settings.toml` and fill the variables.
* Clone `docker-compose.example.yml` as `docker-compose.yml` and edit PostgreSQL-related values to match those from `settings.toml`.
* Pick an example language `.ftl` file from `bot/locale/examples`, edit to your choice, then place it somewhere and specify its path in `docker-compose.yml` under `bot` service.
* Run the bot with migrations: `docker compose --profile migrate up --build`.