This bot was created for the game "Killer" in the Ugra Physics and Mathematics Lyceum.
-
Set env variables (
.env.example
):- TOKEN - Telegram bot token
- DB_FILE - DB file name
- LOG_FILE - Log file name
- BETTER_CALL_SAUL - How to contact with admin
- ADMIN_ID - Admin Telegram ID
-
Launch
- Local
pip install -r ./requirements.txt python -m src
- Docker
docker-compose up -d --build
- Local
[ids] - DB IDs separated by a space
[text] - any message
- /check_users
- /list_alive
- /delete_users [ids]
- /kill [ids]
- /start_game
- /shuffle
- /message [text]
- - Refactor all this shit
- - Make transactions in the database