A discord bot for tracking Iranian Minecraft servers and showing the statistics of them
Installation needs a valid installation of Python > 3.6
Use the package manager pip to install requirments.txt
pip install -r requirments.txtCopy storage/data/.env.sample to storage/data/.env and update tokens/prefixes etc as desired
- Add servers to tracker database (No need to restart after that, bot will fetch the newly added servers):
- Directly using database management softwares
- Through commands (~/cog/admin.py)
# Run the discord bot
python main.py run
# Fetching all servers and updating them in database
python main.py db:update
# Running tests/test_basic.py for testing purposes
python main.py testInstall Docker, e.g. Download Docker.
Go ahead and run commands below to build and run containers:
docker-compose up -d --build
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.