Please describe the problem you are having in as much detail as possible:
Whenever I manually disconnect (right-click on the bot and select the Disconnect button) the bot from the voice channel when it's playing music, discord.js thinks the bot is still in the channel.
I also set an interval to log every few seconds the number of members in the voice channel. It didn't change after the bot was manually disconnected.
Include a reproducible code sample here, if possible:
Please describe the problem you are having in as much detail as possible: Whenever I manually disconnect (right-click on the bot and select the Disconnect button) the bot from the voice channel when it's playing music, discord.js thinks the bot is still in the channel. I also set an interval to log every few seconds the number of members in the voice channel. It didn't change after the bot was manually disconnected.
Include a reproducible code sample here, if possible:
The code logs true when the bot is manually disconnected
Further details:
Relevant client options: