Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3: voice: interrupted connection if user moves the bot to another channel #303

Open
diamondburned opened this issue Jan 19, 2022 · 0 comments

Comments

@diamondburned
Copy link
Owner

This issue is a follow-up on #238 and its PR #241.

Right now, voice is implemented so that it is reconnected when either a VoiceServerUpdateEvent or a VoiceStateUpdateEvent arrives from the main gateway. This is actually incorrect, and the bot should wait for both before reconnecting.

Since it only handles one of those events, at the point of reconnection, the information given to the server is invalid, so the connection cannot be resumed and everything is interrupted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant