Track is a Discord bot with World of Warships utilities.
For a list of features, see the commands reference in the wiki.
- Get Python 3.10 or higher
A virtual environment can be created with python3.10 -m venv venv
.
- Clone the repository
git clone https://github.com/padtrack/track.git
- Install dependencies
cd track
pip install -U -r requirements.txt
- Set up the database
python bot/utils/db.py
- Create a
secrets.ini
file fromsecrets_template.ini
For more information about creating a Discord applications, see this article.
- Install Redis
For more information, see this article.
- Install FFmpeg
For more information, see this website.
- Configure the project in
config.py
Most of these can be left unchanged, but it is highly advised to change the values at the bottom.
- You're set! For information about updating the bot between game updates, see here.
The bot can be launched with bot/run.py
. The full usage is:
python run.py [--sync | --no-sync]
The optional sync flag will cause the bot to sync the command tree on startup. Only use this flag when necessary to avoid being rate-limited.
Render workers can be launched with bot/worker.py
. The full usage is:
python worker.py -q {single, dual} [{single,dual} ...]
Which queues the worker should listen to can be specified with the respective option.
This project is licensed under the GNU AGPLv3 License.
- @alpha#9432 - Thank you for your invaluable insight and help with the OAuth 2.0 server!
- @TenguBlade#3158 - Thank you for your help with the guess similarity groups!
- @dmc#3518 - Thank you for your help with the builds!
- The Minimap Renderer's repository is available here.