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

Fix voice websocket not being closed before being replaced #9518

Merged
merged 2 commits into from
Aug 4, 2023

Conversation

imayhaveborkedit
Copy link
Contributor

@imayhaveborkedit imayhaveborkedit commented Aug 3, 2023

Summary

Looking into #9364, I found two issues.

  1. Failure to drag move a bot to a channel is NOT a bug, but a discord client limitation. You seemingly cannot drag move bots into voice channels marked as NSFW.
  2. The voice websocket was not being closed before it was being replaced.

I haven't figured out the problem with the rtc region stuff yet, but i'm open to either leaving this pr open until then or just making a second one.
The voice region thing is a separate issue and will be another pr.

Checklist

  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • This PR fixes an issue.
  • This PR adds something new (e.g. new method or parameters).
  • This PR is a breaking change (e.g. methods or parameters removed/renamed)
  • This PR is not a code change (e.g. documentation, README, ...)

Also added some logging clarification
Copy link
Owner

@Rapptz Rapptz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you please revert the logging changes here?

The ws logging messages should still be disambiguated imo, especially
when the message is a close frame.
@Rapptz Rapptz merged commit cdc220f into Rapptz:master Aug 4, 2023
8 checks passed
@imayhaveborkedit imayhaveborkedit deleted the voice_fix branch August 12, 2023 22:06
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

Successfully merging this pull request may close these issues.

2 participants