A Discord.js Music Bot, which connects via Lavalink and erela.js

Overview

Discord.js Lavalink Music Bot using erela.js

A Advance Discord Music Bot Like Hydra

Erela.js docs Note this Discord Bot Repository is the Same as for the Public Bot Lava Music if u want to support me, then please invite him!

DISCORD SUPPORT SERVER INVITE

IF YOU WANNA USE CUSTOM EMOJIS, AND SHARD THEN CHECK OUT THE CUSTOM-EMOJIS TAB(branch)!

Installation | How to use the Bot

1. Install node.js v12+ or higher

2. Download this repo and unzip it | or git clone it

3. Install all of the packages with npm install @discordjs/opus @ksoft/api ascii-table canvacord canvas colors common-tags discord.js enmap erela.js erela.js-deezer erela.js-facebook erela.js-spotify lyrics-finder ms radio-browser | the important packages are npm install discord.js erela.js

4 Fill in the parameters, RIGHT in botconfig/config.json!

5. Download Lavalink and download Java 15 (Java 13 recommended)

5.1 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

NOTE:

If you are having errors/problems with starting delete the package.json file and do, before you install the packages npm init

THIS IS HOW IT SHOULD LOOK LIKE!

SHORT OVERVIEW TUTORIAL!

Windows start Command .bat file

@ECHO OFF
ECHO ==========================
ECHO Starting Lavalink
ECHO ==========================
start cmd /k java -jar ./Lavalink.jar
ECHO ==========================
@ECHO Taking a 5 Second Break for Lavalink
ECHO ==========================
timeout /T 5 /nobreak
ECHO ==========================
@ECHO Starting BOT
ECHO ==========================
start cmd /k node .
exit /s'

Windows start.bat file Which starts Lavalink and the Bot together via one click ;)

Have it in the Same folder as index.js and Lavalink.jar

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 Musicium Music Bot Milrato Multi Bot

Sponsors

BEST HOSTING | Bittmax.de

BITTMAX Quality is their solution. Bittmax is our first and probably most important sponsor!

What they are offering:

Quality LXC & KVM (Root) Server Minecraft Hosting, as well as BungeeCord Network Hosting support Cheap and fast Domains WEBHOSTING DISCORD, TEAMSPEAK, Setups / Music Bots GAME SERVER, Rust, Gary's Mod, ..

Discord Server: https://discord.gg/GgjJZCyYKD

Website: https://bittmax.de/

GET 5% OFF EVERYTHING FOR EVER! Code: x10

MC-Host24.de

MC-Host24.de is selling the Best Digital Hosting Services ever! Like For games..

What they are offering:

Quality LXC & KVM (Root) Server WORLDS BEST Minecraft Hosting, Cheap and fast Domains WEBHOSTING DISCORD, TEAMSPEAK, Setups / Music Bots GAME SERVER, Rust, Gary's Mod, ..

Discord Server: https://discord.com/invite/4dGuGXK4A4

Website: mc-host24.de

Comments
  • CLIENT_MISSING_INTENTS?

    CLIENT_MISSING_INTENTS?

    /root/A-Advance-Discord-Music-Bot-Like-Hydra-/node_modules/discord.js/src/client /Client.js:544 throw new TypeError('CLIENT_MISSING_INTENTS'); ^

    TypeError [CLIENT_MISSING_INTENTS]: Valid intents must be provided for the Clien t. at Client._validateOptions (/root/A-Advance-Discord-Music-Bot-Like-Hydra-/no de_modules/discord.js/src/client/Client.js:544:13) at new Client (/root/A-Advance-Discord-Music-Bot-Like-Hydra-/node_modules/di scord.js/src/client/Client.js:73:10) at Object. (/root/A-Advance-Discord-Music-Bot-Like-Hydra-/index.j s:9:16) at Module._compile (node:internal/modules/cjs/loader:1097:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10) at Module.load (node:internal/modules/cjs/loader:975:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_ma in:81:12) at node:internal/main/run_main_module:17:47 { [Symbol(code)]: 'CLIENT_MISSING_INTENTS' }

    Node.js v17.3.0

    don't know what i did wrong

    opened by shaedy180 2
  • help me

    help me

    =============================== node:internal/modules/cjs/loader:1170 throw err; ^

    SyntaxError: /home/container/botconfig/config.json: Unexpected string in JSON at position 709 at parse () at Object.Module._extensions..json (node:internal/modules/cjs/loader:1167:22) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Module.require (node:internal/modules/cjs/loader:1005:19) at require (node:internal/modules/cjs/helpers:102:18) at Object. (/home/container/handlers/clientvariables.js:3:16) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:981:32)

    opened by python-hmv 1
  • Code seems to be outdated as of now.

    Code seems to be outdated as of now.

    Throws an error: The Error: throw new TypeError('CLIENT_MISSING_INTENTS'); ^

    TypeError [CLIENT_MISSING_INTENTS]: Valid intents must be provided for the Client. at Client._validateOptions (C:\Users\User\Desktop\pnp music\node_modules\discord.js\src\client\Client.js:544:13) at new Client (C:\Users\User\Desktop\pnp music\node_modules\discord.js\src\client\Client.js:73:10) at Object. (C:\Users\User\Desktop\pnp music\index.js:8:16) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12) at node:internal/main/run_main_module:17:47 { [Symbol(code)]: 'CLIENT_MISSING_INTENTS'

    Needs updating. Bot's code doesn't support discord's new intents feature.

    opened by Sam-Awh 1
  • Can i use my own custom Lavalink server?

    Can i use my own custom Lavalink server?

    I already have a Lavalink server running, but every time i try and connect to it using the bot it say Authentication failed from /192.168.0.250:51426

    Everything should be good, the password, IP and port.

    I know it works as i have another bot using erela.js and it works

    opened by rowisahub 1
  • Blood drop emoji doesn't work

    Blood drop emoji doesn't work

    /root/bot/bot/node_modules/discord.js/src/rest/RequestHandler.js:154 throw new DiscordAPIError(request.path, data, request.method, res.status); ^

    DiscordAPIError: Cannot send messages to this user at RequestHandler.execute (/root/bot/bot/node_modules/discord.js/src/rest/RequestHandler.js:154:13) at processTicksAndRejections (node:internal/process/task_queues:96:5) at async RequestHandler.push (/root/bot/bot/node_modules/discord.js/src/rest/RequestHandler.js:39:14) { method: 'post', path: '/channels/931817708390072360/messages', code: 50007, httpStatus: 403 }

    opened by mohitaksh 1
Owner
ᴋᴀʙɪʀ々ꜱɪɴɢʜ
I am Kabir Singh, around about 18, and a Medium Discord Bot Developer, Dm me on Discord: ᴋᴀʙɪʀ々ꜱɪɴɢʜ#8148, to get one yourself!
ᴋᴀʙɪʀ々ꜱɪɴɢʜ
Advanced Music Bot It is an advance type of discord music bot which plays high quality of music with spotify

Advanced Music Bot It is an advance type of discord music bot which plays high quality of music with spotify, apple music support . You can save your songs and play it. It also has DJ mode system.

Diwas Atreya 65 Dec 25, 2022
A Advance Music Bot Based on erela.js

WOLF MUSIC WOLF MUSIC is an advance music bot . Report Bug · Request Feature ?? Features Music 24/7 Dj Custom Playlist (global) SlashCommand Custom pr

Coders 3 May 22, 2022
An adorable lavalink discord music bot that has a lot of features inside it.

Laffey An adorable lavalink discord music bot that has a lot of features inside it. First Project of Weeb-Devs Features: ✓ High quality ✓ Support filt

null 81 Dec 31, 2022
Music bot that uses Lavalink for its audio player

Msv Music ?? A Advanced Discord Music Bot Made With Lavalink And Have Many Premium Features with filters and more willl be add soon About Msv Music ??

M s v 36 Jan 4, 2022
Erela.js & Discord.js@v13 (SLASH COMMAND!)

?? READ THIS NEED USE WITH PREFIX? HERE: >> NanoSpace ?? Short Feature Music System Playlists System Premium System Setup Request System Multi Languag

Nanotect. 44 Jan 1, 2023
Gitlift Discord Bot is a discord bot which is listening Discord Messages to reply with user gitlift profile and total contributions.

Remoklify - Gitlift Discord Bot Gitlift Discord Bot is a discord bot which is listening Discord Messages to reply with user gitlift profile and total

Remoklify 3 Mar 20, 2022
𓄿 CrowBot Remade - It's a multipurpose bot which is a remade of a py discord bot which is selled for 5e but this is in js !

CrowBot Remade - It's a multipurpose bot which is a remade of a py discord bot which is selled for 5e but this is in js ! CrowBot Remade is in french

baby 37 Dec 31, 2022
Discord-Bot - You can use the discord bot codes that are updated in every video of the codes I use in the discord bot making series that I have published on my youtube channel.

Discord-Bot You can use the discord bot codes that are updated in every video of the codes I use in the discord bot making series that I have publishe

Umut Bayraktar 114 Jan 3, 2023
A multipurpose bot, a clan bot, a all in one bot. The one bot u need for ur server originally made as Milrato discord Bot and by Tomato6966.

Public Bot and Support Server! Invite the Public Version of this Bot so you don't need to host it by yourself or join my Discord server to get a custo

Tomato6966 472 Dec 25, 2022
I’m a very useful music bot that can make you play a music with a simple command! I have a lot of good commands that you can have a better experience playing your favorites songs!

I’m a very useful music bot that can make you play a music with a simple command! I have a lot of good commands that you can have a better experience playing your favorites songs!

Hugo Kishi 2 Aug 16, 2022
A discord bot using @discord.js and mongoose. Used for music, moderation, and entertainment.

hazel A discord bot using @discord.js and mongoose. Used for music, moderation, and entertainment. Features Music ― supporting YouTube, Spotify and So

yushi 27 Dec 31, 2022
Springlink - ♨️ springlink, a lightweight, fast, highly customizable and stable lavalink wrapper for Node.js 🟩

SpringLink ♨️ A lightweight, fast and stable lavalink wrapper for Node.js Features ?? Stable Feature-rich Customizable Lightweight Installation ?? (No

Knyaoo 3 Nov 17, 2022
It is a discord bot bot which can play lofi song in different language 24/7. It has premium system and cool embed looks with buttons. It can play youtube songs, playlists. This bot code was made by Supreme#2401. It uses djs V12

Lofi-Radio-Music-Bot It is a discord bot bot which can play lofi song in different language 24/7. It has premium system and cool embed looks with butt

Diwas Atreya 89 Jan 2, 2023
A lavalink wrapper in Node.js

Vulkava A lavalink wrapper in Node.JS Documentation Common errors/Issues ?? Installation You will need NodeJS v14+ and a running lavalink server. Offi

David Amorim 26 Dec 17, 2022
⚡ Discord bot with economy, gambling, music, fun, moderation features based on discord.js v12

Crucian Crucian is my discord bot with simple structure based on discord.js Click Here to invite Crucian to your server Author Crucian © Apoo Authored

apoow3b 3 Jul 26, 2021
Voice Controlled Discord Music Bot in discord.js v14

Voice Controlled Discord Bot This repository is for the 5th Hackathon of Documatic. With that Project I am aiming to place #1 and win 50€ About It is

Tomato6966 27 Nov 28, 2022
About Discord bot draft that does not contain ready-made commands, compatible with discord.js v14. Create your own discord bot with this command handler.

discordJS-V14 About Discord bot draft that does not contain ready-made commands, compatible with discord.js v14. Create your own discord bot with this

Umut Bayraktar 36 Dec 28, 2022
Music-Player - Music player application built with HTML, CSS and vanilla JavaScript

Music-Player Music player application built with HTML, CSS and vanilla JavaScrip

Karthik Umashankar 1 Feb 10, 2022
A decentralized Music Ownership System developed on Truffle Suite and React Bootstrap to allow Music artists to upload their content to the blockchain, that can be streamed by users

A decentralized Music Ownership System developed on Truffle Suite and React Bootstrap to allow Music artists to upload their content to the blockchain, that can be streamed by users.

M. Adil Fayyaz 10 Sep 5, 2022