Skip to content
This repository was archived by the owner on Nov 12, 2018. It is now read-only.

Setup: Linux

TBK edited this page Aug 29, 2017 · 11 revisions

Docker

1: Dependencies

The primary requirement is that you have Docker installed.

You will also need curl and bsdtar (libarchive / libarchive-tools) to follow this guide.

2: Download

Download the latest version of the MusicBot using the following commands in terminal:

docker pull discordmusicbot/musicbot:latest

3: Configure

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.

4: Start

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.

Stop

To stop MusicBot, run the following command:

docker kill $(docker ps -q -f ancestor=musicbot)

Clone this wiki locally