Hi All, this might be a dumb question, but I can't find a way to automatically disconnect the bot when all users leave a voice channel. I initially tried using events, but that didn't work. In my commands, I use ctx.author.voice.channel.disconnect(), but this doesn't work for events. At least I couldnt' get it to work. The use case is that I've noticed the bot remains in the channel even after all users leave and I have to manually use commands for it to leave. Any suggestions would be great. Thanks!
#disconnect bot from voice channel when no user is active
1 messages · Page 1 of 1 (latest)