![Version][version-shield] [![Contributors][contributors-shield]][contributors-url] [![Forks][forks-shield]][forks-url] [![Stargazers][stars-shield]][stars-url] [![Issues][issues-shield]][issues-url] [![MIT License][license-shield]][license-url]
High Quality Music Bot With Dj System, Music Channel, 24/7 In VC, Stage Channels, Slash Commands and more for FREE!
A Tutorial has been uploaded on YouTube, Watch it by clicking here
- Setup System
- Music
- 24/7
- Dj
- Custom Playlist (global)
- SlashCommand
- Custom prefix
- Filters
- Easy to use
- More
- Nodejs-v16
- Discord.js-v13
- Java for lavalink
- Lavalink
Note: Java v11 or newer is required to run the Lavalink.jar. Java v13 is recommended. If you are using sdkman then its a manager, not Java, you have to install sdkman and use sdkman to install Java
Warning: Java v14 has issues with Lavalink.
- Discord bot's
token
You should know why you need this or you won't go to this repo
Get or create bot here - Mongodb
URI
for custom prefix
MongoDB - Your ID
for eval command. It's dangerous if eval accessible to everyone
- Spotify client ID
for spotify support
Click here to get - Spotify client Secret
for spotify support
Click here to get
- youtube
*
- bandcamp
*
- soundcloud
*
- twitch
*
- vimeo
*
- http (you can use radio for it)
*
- spotify
*
- deezer
*
git clone https://github.com/brblacky/lavamusic.git
After cloning, run an
npm install
- Start the bot with
node src/index.js
to snag all of the dependencies. Of course, you need node installed. I also strongly recommend nodemon as it makes testing much easier.
Alternatively you can run lavamusic on docker. Pull the prebuilt docker image from here.
See here for a complete environment.
- edit in
src/config.js
and you can do in.env
token: process.env.TOKEN || "", // your bot token
prefix: process.env.PREFIX || "!", // bot prefix
ownerID: process.env.OWNERID || "491577179495333903", //your discord id
mongourl: process.env.MONGO_URI || "", // MongoDb URL
embedColor: process.env.COlOR || "#303236", // embed colour
logs: process.env.LOGS || "", // channel id for guild create and delete logs
"host": "disbotlistlavalink.ml",
"port": 80,
"password": "LAVA",
"retryDelay": 3000,
"secure": false
- Create an application.yml file in your working directory and copy the example into the created file and edit it with your configuration.
- Run the jar file by running
java -jar Lavalink.jar
in a Terminal window.