Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomato6966/discord-js-lavalink-music-bot-erela-js
An advanced Discord.js Music Bot, which connects via Lavalink and erela.js! Including Slash-Commands and a BUTTON-BASED-REQUEST-SYSTEM
https://github.com/tomato6966/discord-js-lavalink-music-bot-erela-js
bot buttons discord discord-bot discord-js lavalink menus music request system
Last synced: about 1 month ago
JSON representation
An advanced Discord.js Music Bot, which connects via Lavalink and erela.js! Including Slash-Commands and a BUTTON-BASED-REQUEST-SYSTEM
- Host: GitHub
- URL: https://github.com/tomato6966/discord-js-lavalink-music-bot-erela-js
- Owner: Tomato6966
- License: gpl-2.0
- Created: 2021-02-07T19:44:43.000Z (almost 4 years ago)
- Default Branch: v13
- Last Pushed: 2024-01-25T00:49:05.000Z (10 months ago)
- Last Synced: 2024-10-12T02:41:23.580Z (about 1 month ago)
- Topics: bot, buttons, discord, discord-bot, discord-js, lavalink, menus, music, request, system
- Language: JavaScript
- Homepage:
- Size: 2.16 MB
- Stars: 210
- Watchers: 8
- Forks: 251
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
### Discord.js Lavalink Music Bot using erela.js
# LAVA MUSIC
> Made with the [**Lavalink**](https://github.com/freyacodes/Lavalink) Wrapper [Erela.js](https://erelajs-docs.netlify.app/docs/gettingstarted.html) **Note this Discord Bot Repository is the Same as for the Public Bot [Lava Music](https://lava.milrato.dev) if u want to support me, then please [invite](https://lava.milrato.dev) him!**
## Features:
✓ Auto resume✓ Super fast & High Quality thanks to LAVALINK
✓ A ton of Music-based Commands
✓ Example Premium System
✓ Everything is customicable / GUILD (`embeds`, `language` & default music values like: `volume`, `filter`, `equalizer`, `autoplay`, ...)
✓ Dj- System
✓ 10+ Filters
✓ Stable & Up to date with discord.js v13
✓ Suport 10 music sources + Stage & Thread Channels
✓ Works on Replit.com and any vps, with public & private Lavalink Nodes
***
# 🖤 Replit.com Version | [FORK IT!](https://replit.com/@OxyTomato/Lava-Music?v=1)
***
# [Youtube Hosting Tutorial](https://www.youtube.com/watch?v=AnYTaFPB4f8)
***
## Installation | How to use the Bot
> **1.** Install [node.js v16.6+](https://nodejs.org/en) or higher
>
> **2.** Download this repo and unzip it | or `git clone https://github.com/Tomato6966/discord-js-lavalink-Music-Bot-erela-js`
>
> **3.** Install all of the packages with **`npm install`** | the important packages are **`npm install discord.js@latest erela.js`**
>
> **4.** Fill in the parameters, RIGHT in `botconfig/config.json`!
>
> **5.** [Download Lavalink](https://github.com/freyacodes/Lavalink/releases/download/3.4/Lavalink.jar) and download Java 13 (Java 11 recommended)
>
> **5.1** Put the `lavalink.jar` File in the Same Repository as your Bot `index.js`, and maybe adjust `application.yml` (and `config.json`)
>
> **5.2** Run the Lavalink file with: **`java -jar Lavalink.jar`**
> **MAKE SURE THAT THERE IS THE `application.yml` FILE OTHERWISE IT WILL NOT WORK!
>
> **6.** start the bot with **`node index.js` / `node .` / `npm start`**#### **NOTE:**
> *If you are having errors/problems with starting delete the package.json file and do, before you install the packages `npm init`****
# Don't want to host your OWN **LAVALINK** ?
Well then skip step **` 5. `**
> And use those settings in the `botconfig/config.json` FIle!
```json
"clientsettings": {
"nodes": [
{
"host": "lava.link",
"port": 80,
"password": "anything as password"
}
]
},
```
> Find more hosts [here](https://lavalink.darrennathanael.com/#how2host)
***
## How to enable the Slash Commands?
> 1. Start the Bot!
>
> 2. type: `?deployslash` or `@BOT deployslash`, for GLOBAL Slash Commands (for all Servers and all new Servers)
> OR: Type: `?deployslash [SERVER_ID]` for GUILD SLASH COMMANDS (just for this Server)![image](https://imgur.com/MA53Oo3.png "Slash Commands do work")
***
## [Discord Server 😎](https://discord.gg/dcdev) | [Website](https://milrato.dev)
***
## SUPPORT ME AND MILRATO DEVELOPMENT
> You can always Support me by inviting one of my **own Discord Bots**
[![2021's best Music Bot | Lava Music](https://cdn.discordapp.com/attachments/748533465972080670/817088638780440579/test3.png)](https://lava.milrato.dev)
[![Musicium Music Bot](https://cdn.discordapp.com/attachments/742446682381221938/770055673965707264/test1.png)](https://musicium.musicium.dev)
[![Milrato Multi Bot](https://cdn.discordapp.com/attachments/742446682381221938/770056826724679680/test1.png)](https://milrato.milrato.dev)***
# Credits
> If consider using this Bot, make sure to credit me!
***
## Contributing on LANGUAGE SYSTEM
> 1. Copy a .json file in `languages`
>
> 2. Replace the Text, which aren't variables
>
> 3. Create a Pull Request***
## TODO:
> - `50% is Language able` ... finish the rest of it!
>
> - Not all emojis are yet in the emojis.json file ... Fix those!