Voice woes: moving channels via client drag and region changes break voice connection #9364
Closed
3 tasks done
Labels
bug
This is a bug with the library.
Summary
Voice code does not properly reconnect to voice upon being moved to a different channel and possibly from a region change.
Reproduction Steps
Join the bot to voice channel A. Then either:
or
Minimal Reproducible Code
Mostly reproduced in the client but there is one peculiar thing to note. Dragging the bot between channels in the client breaks it differently than moving channels with
voice_client.move_to
. For example:The bot seemingly changes channel properly, however the log output is a bit strange. See footnote 1.
In the other case, it's simply changing the voice region via client or
await channel.edit(rtc_region="...")
. See footnote 2.Expected Results
Naturally, it should just work.
Actual Results
Bizarre breakage and bad connection state.
Intents
All
System Information
Checklist
Additional Context
I'm fairly sure this is a regression and I don't know if it has anything to do with 21ed9f6, but I'll look into this more later.
Additionally, one other person has tried this in the discord server and their breakage is different from mine. See: https://discord.com/channels/336642139381301249/336642776609456130/1097363280332337263 and the video shortly after that.
[1]
[2]
I'm not entire sure if the state here is broken, but there is a ws close exception with code 4000 for me.
The text was updated successfully, but these errors were encountered: