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
Pycord does not properly handle when a bot is manually disconnected from a voice channel, resulting in following attempts at connecting failing.
Reproduction Steps
Connect your bot to a voice channel
Manually disconnect it from within the discord client
Try to reconnect it
ClientException
Minimal Reproducible Code
No response
Expected Results
Pycord should automatically handle any disconnections within the library by fully disconnecting the voice client. The only time that a bot should need to handle voice connections is when it wants to move to a new voice channel, connect to a voice channel, or disconnect from a voice channel. It should not need to update if it is moved/disconnected via client, or if its channel is deleted. That should be built into pycord imo (and I think most of it already is)
Actual Results
Users have to come up with ways to detect and handle when their bots are disconnected unexpectedly, which isn't always easy/obvious
Intents
All
System Information
Python v3.10.2-final
py-cord v2.0.0-beta
py-cord pkg_resources: v2.0.0b1
aiohttp v3.8.1
system info: Windows 10 10.0.22000
Checklist
I have searched the open issues for duplicates.
I have shown the entire traceback, if possible.
I have removed my token from display, if visible.
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Summary
Pycord does not properly handle when a bot is manually disconnected from a voice channel, resulting in following attempts at connecting failing.
Reproduction Steps
Connect your bot to a voice channel
Manually disconnect it from within the discord client
Try to reconnect it
ClientException
Minimal Reproducible Code
No response
Expected Results
Pycord should automatically handle any disconnections within the library by fully disconnecting the voice client. The only time that a bot should need to handle voice connections is when it wants to move to a new voice channel, connect to a voice channel, or disconnect from a voice channel. It should not need to update if it is moved/disconnected via client, or if its channel is deleted. That should be built into pycord imo (and I think most of it already is)
Actual Results
Users have to come up with ways to detect and handle when their bots are disconnected unexpectedly, which isn't always easy/obvious
Intents
All
System Information
Checklist
Additional Context
No response
The text was updated successfully, but these errors were encountered: