saiteja-madha / discord-js-bot

🤖 Multipurpose discord bot built using discord.js v14 with moderation, music, ticketing, translation, and much more
https://strangedocs.hostz.me
Apache License 2.0
711 stars 701 forks source link

Lavalink Problem #497

Open MrTabaOfficial opened 8 months ago

MrTabaOfficial commented 8 months ago

WARN 29 --- [ XNIO-1 task-2] lavalink.server.config.WebsocketConfig : This is the old Lavalink websocket endpoint. Please use /v4/websocket instead. If you are using a client library, please update it to a Lavalink v4 compatible version or use Lavalink v3 instead.

this is Warning on lavalink host

and in my bot is spaming Error [2024-03-16 11:03:35] ERROR: Node "undefined" encountered an error: Error: Unexpected server response: 200.: Error: Unexpected server response: 200 [2024-03-16 11:03:35] INFO: Node "undefined" disconnected

aikoonee commented 8 months ago

Use lavalink v3

MrTabaOfficial commented 8 months ago

im using and its work but how can i Use New Websocket for lavalink V4 ?

PUSHKAR2521 commented 5 months ago

@MrTabaOfficial Bro Check this new Pull Request there is new V4 Websocket Updated Code and its working https://github.com/saiteja-madha/discord-js-bot/pull/521