[Autoroom] Voicechats arent closed
Hi,
It's hard for me to describe the underlying issue, but recently a lot of created voice chats are not automatically deleted when they are vacated. This means that we have a backlog of old vcs that we have to manually clean up
Can you reproduce the issue? And are you on the latest Red-DiscordBot and AutoRoom versions?
In the past there was an issue when users would move channels instead of disconnecting and reconnecting would leave the empty channel behind. But I can't reproduce that now so maybe that was fixed.
RedBot and AutoRoom are both on the latest version.
I was able to reproduce the issue as you decribed it:
- Moving out of the VC leaves the empty room behind;
- Properly disconnecting (not connecting to another VC) deletes the VC.
Yeah I'm not really sure how to fix that, it's either a Discord API issue, discord.py issue, or maybe a Red-DiscordBot issue, but probably not since I think it just uses discord.py's events. On top of that, I don't see that issue in my support server anymore, so I can't really reproduce the issue. This is what I had discovered before (2025-01-03):
So I'm debugging in production, and it looks like the leaving channel for the event when you move voice channels is empty (None). Which would break stuff as you can tell. Not really sure why this is the case...