Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.36 KB

README.MD

File metadata and controls

31 lines (21 loc) · 1.36 KB

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.

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.)