A Discord bot to control the status of a Nitrado server
Use the package manager pip to install requirements.txt
pip3 install --target ./package -r requirements.txt
PYTHONPATH="PATH_TO_PACKAGE_FOLDER:$PYTHONPATH"
export PYTHONPATHCreate copy of "nitrapi_account_config_template.json" as "nitrapi_account_config.json". Then add the auth_tokens for each of the Nitrado accounts into the config.
Create a copy of ".env_template" as ".env". Add the values for: DISCORD_TOKEN, DISCORD_GUILD, and DISCORD_CHANNEL
Build Docker container
docker build -t nitrado-server-controls-bot .Run app using Docker
docker run nitrado-server-controls-botSee running Docker containers
docker psKill running Docker container
docker kill PIDPull requests are welcome to the "master" branch. For major changes, please open an issue first to discuss what you would like to change.