This bot manages a tournament for the ranked bedwars server.
The majority of the logic is performed within the API, written using Nitro & Cloudflare D1 hosted on Cloudflare Workers.
- Create a python virtual environment, this allows us to use known working versions of modules
python -m venv ./venv
- Activate the virtual environment
./venv/Scripts/activate
- Install all dependencies
pip install -r requirements.txt
- Configure the bot.
There are three main files used for configuration.
constants.json
&tourney.constants.json
&.key
constants.json
- This requires an API key and API URL, get these from ohb00.tourney.constants.json
- This contains the roles and channels required for running the bot..key
- This contains the bot's token.
- Run the bot
python ./main.py
- Set up number of players
-config players 2
- Congratulations! You are now running the bot.