Music bot for Discord servers.
Libraries used in this project:
- Easy to use 📚
- Slash Command Support 👏
- Plays in multiple servers 🎮
List of registered commands for the bot:
| Name | Description | Options |
|---|---|---|
| /autoplay | Toggle song autoplay | |
| /back | Play the previous track | |
| /bassboost | Toggle bassboost filter | |
| /clear | Clear the current queue. | |
| /history | Display the queue history | |
| /loop | Turn on/off looping | <action> |
| /lyrics | Show lyrics for a song | <song> |
| /history | Display the queue history | |
| /pause | Pause the current song | |
| /play | Play a song from youtube | <song> |
| /playnext | Add a song to the top of the queue | <song> |
| /queue | See the queue | |
| /remove | Remove a specific track | <song> |
| /resume | Resume the current song | |
| /shuffle | Shuffle the queue | |
| /skip | Skip the current song | |
| /stop | Stop the player | |
| /volume | Set music volume | <amount> |
- NodeJS v16.9.0 or higher
- Clone the repository
git clone https://github.com/ervin-sungkono/Discord-Music-Bot.git- Install dependencies
npm install- Copy .env.example and remove it, fill in the variables:
cp .env.example .envDISCORD_TOKENis your Discord bot token, you can find it hereGENIUS_APIis your Genius API token, you can find it here (optional)
- Start the bot
npm start- or in development mode, you can do this instead:
npm run dev