Tomato6966 / lavalink-client

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

no sound #62

Closed AhmedMondo closed 2 months ago

AhmedMondo commented 2 months 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 2 months ago

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

Tomato6966 commented 2 months 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 2 months 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 2 months ago

I will try debug

Tomato6966 commented 2 months 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 2 months ago

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

AhmedMondo commented 2 months ago

image this what is shown when i activated debugEvent

Tomato6966 commented 2 months ago

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

AhmedMondo commented 2 months ago

thx fixed, its wierd btw