XPOSE Bot is based on clash of clans and is designed specifically to help the leagues present out there encourage fair play. The bot helps you scan a clan/player or even scan your roster to see if there are any players banned by the league before. The bot also provides player's clan history and checks if any clan banned by the league is visited by the player in the past ... giving you info about how many days the player stayed in the clan , what role etc.
This bot is developed by the WCL Tech Team
- Python v3.8.0+
- Git
Run the following as root/user with sudo access
sudo apt update
sudo apt install software-properties-common
Add the deadsnakes PPA to your system’s sources list:sudo add-apt-repository ppa:deadsnakes/ppa
Once it's installed, install python3.8sudo apt install python3.8
Ubuntu 20.04 is what we currently use to host the bot.
sudo apt update
sudo apt -y upgrade
python3 -v
Returns 3.8.x (Ubuntu 20.04 gets python3.8 pre installed.)
Run the following to install pip:
sudo apt install python3-pip
- Copy
config.py.example
and create a new fileconfig.py
and fill in all the credentials
- Navigate to the root directory
- Run
python3 -m pip install -r requirements.txt
Start a tmux session using tmux
and run the following:
python3 bot.py
To add a ban list of any other league, the only file you would want to edit is cogs/bancheck.py
.
Check out the existing league's code to understand how to add a new one
- Akhil Tulluri