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!
IF YOU WANNA USE CUSTOM EMOJIS, AND SHARD THEN CHECK OUT THE CUSTOM-EMOJIS TAB(branch)!
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
| 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
If you are having errors/problems with starting delete the package.json file and do, before you install the packages npm init
@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
You can always Support me by inviting one of my own Discord Bots
If consider using this Bot, make sure to credit me!