AutoLeave not working
I Create a player like this. But after leaving the channel the bot stays
Solution:Jump to solution
I have now done it this way and would then install the function in our voice state logic
13 Replies
Hello, I will check and get back to you shortly with the answer.
Thank you very much for reporting the bug.
Does the auto leave refer to the queue or the channel (members)?
autoLeave it will disconnect when the queue is empty
Members will have to do it client Discord
Oh, we need that the bot leaves when there are no more members in the channel
Would you add this as a feature or do we have to code it ourselves?
You use Discord.js's voiceStateUpdate event
yes
There's no way I can do it within the Lavalink client package, luckily the logic of making the bot leave the call is very easy.
Oh okay, thanks for the help then.
GG @Mika, you just advanced to level 1!
Solution
I have now done it this way and would then install the function in our voice state logic
Nice