Skip to content
forked from appujet/lavamusic

lavalink music bot base in erela.js and discord.js v13

License

Notifications You must be signed in to change notification settings

RennJs/lavamusic

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Run on Repl.it Remix on Glitch

Version Contributors Forks Stargazers Issues MIT License


Pbot-plus

lavamusic

Lavamusic is a powerful music Bot

Invite Lavamusic Β· Report Bug Β· Request Feature

πŸ“ Tutorial

A Tutorial has been uploaded on YouTube, Watch it by clicking here

🎭 Features

  • Multi languages
  • Music
  • 24/7
  • Custom Playlist (global)
  • SlashCommand
  • Custom prefix
  • Filters
  • Easy to use
  • More

πŸ–ΌοΈ Screenshots


πŸ“Ž Requirements

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.

🌐 Main

  • 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

🎢 Available music sources:

  • youtube*
  • bandcamp*
  • soundcloud*
  • twitch*
  • vimeo*
  • http (you can use radio for it)*
  • spotify*
  • deezer*

πŸš€ Installation from source

git clone https://github.com/brblacky/lavamusic.git

After cloning, run an

npm install
  • Start the bot with node 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.

πŸš€ Installation using docker-compose

Alternatively you can run lavamusic on docker. Pull the prebuilt docker image from here.
See here for a complete environment.

intents

When Your Running The Code You Must Have Gotten This Error To Fix This Head Over To Your Bots Discord Application and Go To The Bot Settings And Find This

Then Turn On Both Of Those Settings And Click "Save Changes" Then Your Are Done And The It Should Be Fixed

βš™οΈ Configurations

  • 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

πŸŒ‹ lavalink

      "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.

πŸŒ€ About

Readme Card

Lavamusic is a lavalink music bot base in erela.js If you liked this repository, feel free to leave a star ⭐ to help promote !

πŸ’Œ Support Server

DiscordBanner Support Server - lavamusic's Support Server Invite

Donate

By Donating, You Will Help Me To Maintain This Project

🌎 Locales

Currently available locales are:

  • English (en)
  • Check Contributing if you wish to help add more languages!
  • For languages please use ISO 639-1 two letter format

🀝 Contributing

  1. Fork the repository
  2. Clone your fork: git clone https://github.com/your-username/lavamusic.git
  3. Create your feature branch: git checkout -b my-new-feature
  4. Stage changes git add .
  5. Commit your changes: cz OR npm run commit do not use git commit
  6. Push to the branch: git push origin my-new-feature
  7. Submit a pull request

πŸ” License

Distributed under the MIT License. See LICENSE for more information.

About

lavalink music bot base in erela.js and discord.js v13

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.7%
  • Other 0.3%