Just a simple Discord music bot
[⚠] Requires Node.JS version 12.9.0 or above.
- Install Node.JS and Yarn (Optional)
- Rename
.env.schema
to.env
and fill out the values (example on .env.example) - Install dependencies as stated here
- Run
npm run build
oryarn run build
if you're using yarn. - (Optional) Prune dev dependencies (This is good to save disk spaces):
$ npm prune --production
#or with yarn
$ yarn install --production
- Start it with
npm start
oryarn start
! And you're done!
Notes:
- You only need to configure .env file when you're using the Docker image
- If you're using "Deploy to Heroku" button, you don't need to do this.
Without optional packages
$ npm install --no-optional
# or with yarn
$ yarn install --ignore-optional
With optional packages (Recommended)
$ npm install
# or with yarn
$ yarn install
For optional packages, you need to install build tools as stated here and you also need to install Git
Want to use Dockerized version of jukebox? sure! we provide them on the Docker Hub and also in GitHub Container Registry
Docker Volumes are needed to store cache and logs persistently
$ docker run --env-file .env --volume cache:/app/cache --volume logs:/app/logs --restart unless-stopped hazmi35/jukebox
We also provide docker-compose.yml if you want to go that way
$ docker-compose up
- A production-ready music bot, suitable for you that dislike hassling with the code.
- Basic Commands (Help, Ping, Invite & Eval [for advanced bot owners])
- Basic Music Commands (Play, Skip, Stop, Pause & Resume, Now Playing, Queue, Repeat, Volume)
- Caching! (cache youtube downloads)
- Configurable
- Docker-friendly
- Lightweight (only around 120MB with dev dependencies pruned)
Based on discord-music-bot