-
Notifications
You must be signed in to change notification settings - Fork 3
Setup: Linux

The primary requirement is that you have Docker installed.
You will also need curl and bsdtar (libarchive / libarchive-tools) to follow this guide.
Download the latest version of the MusicBot using the following commands in terminal:
docker pull discordmusicbot/musicbot:latest
At this point you should create a bot account and add it to your server.
On your system create a folder for your bot, e.g. /root/discordmusicbot/ and cd into this directory.
Download and extract the config folder:
curl -#L https://github.com/DiscordMusicBot/MusicBot/releases/download/1.9.9/MusicBot-config.zip | bsdtar -xf-
NEVER delete or rename any of these files!!!
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.
Now run the following command to start the bot:
docker run -d --name musicbot --restart=always -v $(pwd):/usr/src/musicbot/config discordmusicbot/musicbot
If you want the Docker container to be named something other then musicbot then alter the name after the --name parameter.
To stop MusicBot, run the following command:
docker kill $(docker ps -q -f ancestor=musicbot)