Source adapted from this gist, Copyright (c) 2019 Valentin B.
Add to your server! Email me here if you want to use it on a large server.
Remember to adhere to a code of ethics.
Create a file named .env
Add TOKEN=<your bot token>
Your .env file should look something like this:
TOKEN=<Bot token>
To run locally use:
env $(cat .env) poetry run python main.py
First, use this link:
On your backend, run:
# Build and Run
env $(cat .env) docker-compose build
docker-compose up -d --force-recreate
# Enter Container
docker exec -it musicbot-2 /bin/bash