https://github.com/leviinson/coc-helper
This telegram bot helps clan owners in the Clash of Clans game keep small statistics about their teammates right in the telegram group.
https://github.com/leviinson/coc-helper
aiogram clash-of-clans python telegram
Last synced: about 1 year ago
JSON representation
This telegram bot helps clan owners in the Clash of Clans game keep small statistics about their teammates right in the telegram group.
- Host: GitHub
- URL: https://github.com/leviinson/coc-helper
- Owner: Leviinson
- Created: 2022-08-10T08:56:45.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-11-21T19:22:42.000Z (over 3 years ago)
- Last Synced: 2023-05-12T13:35:03.867Z (about 3 years ago)
- Topics: aiogram, clash-of-clans, python, telegram
- Language: Python
- Homepage:
- Size: 38.1 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# Clash of Clans TG Helper
## This telegram bot helps clan owners in the game Clash of Clans keep small statistics about their teammates right in the telegram group.
[](https://www.python.org/downloads/) [](https://github.com/aiogram/aiogram) [](https://www.mysql.com/downloads/) [](https://developer.clashofclans.com/#/)
## Key Features:
- asynchronous code
- saving basic clan data in MySQL DataBase
- updating information in the database based on polling requests
# Getting Started
## Installing
```
git clone https://github.com/Leviinson/CoC-Helper_aiogram.git
```
## Bot setup
- 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
## Abbreviations that may appear in the code:
- 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.)