Skip to content

Music bot for Discord servers using discord-player and discord.js

Notifications You must be signed in to change notification settings

ervin-sungkono/Discord-Music-Bot

Repository files navigation

Discord Music Bot

Music bot for Discord servers.

Resources

Libraries used in this project:

  1. Androz2091/discord-player
  2. discord.js
  3. @devraelfreeze/discordjs-pagination

Features

  • Easy to use 📚
  • Slash Command Support 👏
  • Plays in multiple servers 🎮

Commands

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>

Requirements

  • NodeJS v16.9.0 or higher

Installation

  1. Clone the repository
git clone https://github.com/ervin-sungkono/Discord-Music-Bot.git
  1. Install dependencies
npm install
  1. Copy .env.example and remove it, fill in the variables:
cp .env.example .env
  • DISCORD_TOKEN is your Discord bot token, you can find it here
  • GENIUS_API is your Genius API token, you can find it here (optional)
  1. Start the bot
npm start
  • or in development mode, you can do this instead:
npm run dev

References

  1. discord-music-bot by Androz2091
  2. Music-bot by ZerioDev
  3. Discord.js Guide

About

Music bot for Discord servers using discord-player and discord.js

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published