Discord MusicBot

网站数据 2025-07-26

Discord Music Bot

Latest Updates

v5.1 Is in development! Go check it out HERE!

What do you gain from it? Let us explain:

  • Completely modular docker environment for easier development and deployment
  • A WORKING DASHBOARD!!!
  • DB Integration for you to save your favorite songs in
  • Integrated self hosted Lavalink
  • Dedicated query channel
  • More commands and functionalities
  • And so much more to come!

? | Prerequisites

  • Node.js 16+
  • Lavalink Server
  • You'll need to run npm run deploy or yarn deploy. to initialized the slash commands. You can do this on your pc locally

NOTE: Lavalink is needed for music functionality. You need to have a working Lavalink server to make the bot work.

| Important Note if you're Switching from v4 to v5

  1. Download and configure v5 in a seperate folder.
  2. Kick your bot out of your server.
  3. Reinvite the Bot with the right scopes. Example Invite URL (Change CLIENT_ID)
  4. Run npm run deploy or yarn deploy to initialize the slash commands. You can do this on your pc locally

| Tutorial

? Docker

You should configure the config.js file with the host "lavalink", using the same password and port as specified in docker/application.yml.

Build and start bot and lavalink

docker-compose up -d --build

?? Non-Docker

The config.js file should be configured first. Don't forget to add a lavalink host

Install all dependencies and deploy Slash Commands

npm install
npm run deploy

Start the bot

node index.js

| Support Server

If you have major coding issues with this bot, please join and ask for help.

? | Screenshots

Soon

| Deploy

| Contributors

Contributions are always welcomed :D Make sure to follow Contributing.md

? | Made with

  • Discord.js
  • Lavalink with erela.js
  • Express
  • Next JS
  • Next UI
  • Material UI Icons
下载源码

通过命令行克隆项目:

git clone https://github.com/SudhanPlayz/Discord-MusicBot.git