CorwinDev / Discord-Bot

Discord Bot with over 400 commands and made for large servers
MIT License
656 stars 599 forks source link

Lavalink error #161

Closed SensiblePoet256 closed 1 year ago

SensiblePoet256 commented 1 year ago

 npm run start

discordbot@10.0.0 start node . --trace-warnings

Database >> MongoDB is connecting...

Bot >> Started on 1 servers! System >> Lavalink connected! System >> Lavalink connected! System >> Lavalink connected! System >> Lavalink connected! System >> Lavalink connected! ERROR >> Node lava.link had an error: Unable to connect after 5 attempts.

FlexKleks commented 1 year ago

If you run the bot on Windows, make sure you have JDK 16.0.2 installed. You also need the Lavalink.jar (https://github.com/freyacodes/Lavalink/releases/tag/3.4) and an application.yml (https://github.com/freyacodes/Lavalink/blob/master/LavalinkServer/application.yml.example).

Start the JAR with the command java -jar Lavalink.jar and correct the Lavalink data in the .env file. For example, host 127.0.0.1 and port 2333. Make sure that the password in both files matches.

Both files must be located in the same folder. Both the Lavalink.jar and the application.yml. Change the password to whatever you want, and then everything should work.

Ruben-Schadron commented 1 year ago

Join our server. There we can help you better and faster. We also posted there a new lavalink