Closed NedcloarBR closed 2 months ago
The purpose of the updateSession
is to temporarily maintain the playback through the node on everything the bot reconnects.
Given that, shouldn't it keep playing for the time specified in the function instead of being random as it's happening to me? I set up the function in 6 minutes but the time is around 40 - 80 seconds
The function allows the lavalink (server) node to play the audio for the given time (second parameter) in ms. Lavalink (server) handels the audio playback...
The point of resuming is that you can keep playing, while restarting the bot, or reconfiguring it (e.g. unmounting events and re-mountin them)
The function does not control it, it just tells lavalink (server) the limit. If you feel like it stops playing before the time you declare it is allowed to please ask in lavalink support.
Note that it of course stops playing when the songs finishes... lavalink (server) has no queue, the client (lavalink-client) handles that
So the title kind of says it all I'm testing the resuming functions and I came across this