The perfect music bot for your Discord server! 🎶
- Simple & easy to use 🤘
- Audio filters (bassboost) 🎸
- YouTube, Facebook and Vimeo support 🌌
- Slash Commands support 🤖
- Play in multiple servers at the same time 🚗
Here are all the available commands in the bot!
Name | Description | Options |
---|---|---|
/back | Plays the previous track | |
/bassboost | Toggles bassboost filter | |
/jump | Jumps to a specific track | <tracks> |
/loop | Sets loop mode | <mode> |
/np | See what's currently being played | |
/pause | Pause the current song | |
/play | Plays a song from youtube | <query> |
/queue | See the queue | |
/resume | Resume the current song | |
/seek | Seeks to the given time | <time> |
/shuffle | Shuffles the queue | |
/skip | Skip to the current song | |
/stop | Stop the player | |
/volume | Sets music volume | <amount> |
The project uses the following libraries:
- Androz2091/discord-player library for the core music features
- discordjs for all the other requests to the Discord API
- @discordjs/voice for all the voice requests to the Discord API
- @discordjs/opus as the opus library
- FFMPEG to encode the stream
- Install FFMPEG.
- Clone the repository. (
git clone https://github.com/Androz2091/discord-music-bot
) - Copy the
.env.example
file as.env
and fill it.
DISCORD_CLIENT_ID
is the ID of your Discord BOTDISCORD_CLIENT_TOKEN
is the token of your Discord BOT
- Install the dependencies. (
yarn install
ornpm install
) - Start the bot! (
node .
)
- Copy the
.env.example
file as.env
and fill it.
docker build . -t discord-music-bot
docker run -d --env-file .env discord-music-bot
version: '2'
services:
bot:
build: .
environment:
DISCORD_CLIENT_ID: ""
DISCORD_CLIENT_TOKEN: ""
DISCORD_CLIENT_PUBKEY: ""
DISCORD_GUILD_ID: ""