-
Notifications
You must be signed in to change notification settings - Fork 0
Guide for Docker
The only requirement is that you have Docker installed. You do not require anything else. Download and navigate into the latest version of the MusicBot using the following commands:
git clone https://github.com/SexualRhinoceros/MusicBot.git MusicBot -b master
cd MusicBot
At this point you should create a bot account and add it to your server.
The folder we're in contains all of the bots files. Do not delete or rename any files/folders. We now need to configure the bot.
Inside the bot's folder is another folder called config
. Open it, and then open the example_options.ini
file. This is the file containing the bot's settings. All options are explained in the file. Make sure you save the file as options.ini after editing. If you need help, read the configuration page.
From within the root project directory (named MusicBot
), run the following command to build the docker image:
docker build -t musicbot .
Now run the following command to start the bot:
docker run -d -v $(pwd)/config:/musicBot/config musicbot
To stop MusicBot, run the following command:
docker kill $(docker ps -q -f ancestor=musicbot)