discord-musicbot-docker
Adding music-bots to your Discord server is a ton of fun! However, most of the free music bots require you to purchase "premium" for basic features like adjusting the volume...that's ridiculous right?! Thankfully, MusicBot has our back with a really polished and easy to use music bot that you can host yourself!
This project wraps MusicBot in a Docker contatainer for fast and simple deployment.
Deploy
Edit Dockerfile
and enter your bot token
and user id
.
(See Getting a Bot Token and Finding Your User ID if you need help finding these).
Run build and run container like this:
// Clone this repo
$ git clone https://github.com/JosephSamela/discord-musicbot-docker
$ cd discord-musicbot-docker
// Build and run the bot
$ docker build -t musicbot .
$ docker run -d --restart=always --name=musicbot musicbot
The
--restart=always
flag will run the container at startup and restart if it crashes.
After the bot is running, you'll need to add the bot to your server.