Track is a Discord bot with World of Warships utilities.
For a list of features, see the commands reference in the wiki.
A virtual environment can be created with python3.10 -m venv venv
.
git clone https://github.com/padtrack/track.git
cd track
pip install -U -r requirements.txt
python bot/utils/db.py
secrets.ini
file from secrets_template.ini
For more information about creating a Discord applications, see this article.
For more information, see this article.
For more information, see this website.
config.py
Most of these can be left unchanged, but it is highly advised to change the values at the bottom.
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.