Tomato6966 / lavalink-client

Easy, flexible and feature-rich lavalink@v4 Client. Both for Beginners and Proficients.
https://tomato6966.github.io/lavalink-client/
MIT License
59 stars 23 forks source link

no sound #62

Closed AhmedMondo closed 1 month ago

AhmedMondo commented 1 month ago

image im running the lavalink on VPS Linux server with IPv6 and the bot running on my pc and it works well but when i move the bot into the VPS the sessionId not sent idk why i asked in lavalink's server and they said its from the client also latest version of lavalink-client

AhmedMondo commented 1 month ago

also tried that on another RDP Windows and same thing the sessionId is not sent

Tomato6966 commented 1 month ago

Do you listen to the "sendRawData" function on the raw event? Do you have the Voice intent enabled? You can use the debugEvents option in the advanceOptions from the Manager, to enable the "debug" event.

AhmedMondo commented 1 month ago

Yeah i set everything Also the same code works on my local pc normally but when i copy the code to vps it doesn't

AhmedMondo commented 1 month ago

I will try debug

Tomato6966 commented 1 month ago

If it works on your local machine but not on your remote machine it's not due to the library that's weird

AhmedMondo commented 1 month ago

If its not related to lavalink and not related to client so what is the issue

AhmedMondo commented 1 month ago

image this what is shown when i activated debugEvent

Tomato6966 commented 1 month ago

The id you provide in manager.init, must be the bot's user id

AhmedMondo commented 1 month ago

thx fixed, its wierd btw