You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see that we can use /leave command aswell as that stop button (image):
I see that when AUTO_LEAVE is set to true, when you use /leave command or press this button, the bot will stop playing and will leave immediately
On the other side when AUTO_LEAVE is set to false, the bot will not leave even when you MANUALLY execute /leave -> this is not what AUTO_LEAVE should prevent! auto leave indicated "automatically leave", and using /leave command or pressing the button is not automatic - it is done manually by the user (who is in the channel of course and is only allowed for them to use bot commands/interactions)
So i wanted to address that AUTO_LEAVE if set to true, should ONLY do next:
leave voice channel after it is done with playing a track
if stop interaction button is pressed, it will STOP the music, that is not the same as leave command! it will break playing track and because auto leave is set to true it will leave only because it is set to true
leave voice channel if number of users inside of that channel (joined that channel, currently) is 0 (so if last user leaves the channel and the bot is left alone, he will leave too)
leave voice channel even if playing music but the count of currently joined users is 0 (when last user leaves, bot leaves too)
In other case (if AUTO_LEAVE is false):
do not leave voice channel after it is done with playing track
if stop interaction button is pressed, it will STOP the music and not leave until someone used /leave command or someone disconnected him from the channel or it times out from the channel (this will be next suggestion)
do not leave voice channel if number of users in the channel goes to 0
implement new env variable for controlling if it should stop playing music when all users leave the channel or not called for example AUTO_LEAVE_FALSE_STOP_PLAYING_ALONE which if set to true, it will stop playing fully (or pause? and resume when someone joins back) and if set to false, it will not stop playing music
The text was updated successfully, but these errors were encountered:
I actually think that most of this work fine right now, and the button actually works fine it just does not indicate anywhere if it means "stop" or "leave" because when pressed it outputs "Bot leave" message and leaves
I only think that when AUTO LEAVE is false, it should not send "Bot leave" message when you press stop button because the bot did not left the channel (it's not leaving it because auto leave is false) so something here is over-working.
I see that we can use /leave command aswell as that stop button (image):

I see that when
AUTO_LEAVE
is set totrue
, when you use /leave command or press this button, the bot will stop playing and will leave immediatelyOn the other side when
AUTO_LEAVE
is set tofalse
, the bot will not leave even when you MANUALLY execute /leave -> this is not what AUTO_LEAVE should prevent! auto leave indicated "automatically leave", and using /leave command or pressing the button is not automatic - it is done manually by the user (who is in the channel of course and is only allowed for them to use bot commands/interactions)So i wanted to address that
AUTO_LEAVE
if set totrue
, should ONLY do next:In other case (if
AUTO_LEAVE
isfalse
):AUTO_LEAVE_FALSE_STOP_PLAYING_ALONE
which if set to true, it will stop playing fully (or pause? and resume when someone joins back) and if set to false, it will not stop playing musicThe text was updated successfully, but these errors were encountered: