This telegram bot helps clan owners in the game Clash of Clans keep small statistics about their teammates right in the telegram group.
- asynchronous code
- saving basic clan data in MySQL DataBase
- updating information in the database based on polling requests
git clone https://github.com/Leviinson/CoC-Helper_aiogram.git
- in the configuration module
bot_config.py
insert necessary bot and Clash of Clans API tokens and choose a delay for polling requests to CoC API. - in the configuration module
mysql_config.py
insert necessary settings for mysql server.
Optionally, you can replace the direct insertion of private data into the configuration file with environment variables
- CWL - Clan War League
- CW - Clan War
- LVK - Ukrainian abbreviation that equals to CWL (occurs only in command names, which can be easily replaced with a custom value.)