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): disconnect if voice channel not cached #5467

Merged
merged 1 commit into from
Apr 2, 2021

Conversation

amishshah
Copy link
Member

Please describe the changes this PR makes and why it should be merged:

Resolves an issue where bots will hard crash if they are moved from a voice channel into a stage channel. As stage channels are not currently cached by the library, the bot will unrecoverably crash when trying to access the channel.

This fix will cause a voice connection to be disconnected if it is updated with a channel that is not cached.

Status and versioning classification:

  • Code changes have been tested against the Discord API, or there are no code changes
  • I know how to update typings and have done so, or typings don't need updating

@amishshah amishshah changed the title fix(Voice): disconnect if voice channel not cached fix(Voice*): disconnect if voice channel not cached Apr 2, 2021
@amishshah amishshah changed the title fix(Voice*): disconnect if voice channel not cached fix(Voice): disconnect if voice channel not cached Apr 2, 2021
Copy link
Member

@almostSouji almostSouji left a comment

Choose a reason for hiding this comment

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

Confirmed issue and this fixing it

@iCrawl iCrawl merged commit 3af8179 into discordjs:master Apr 2, 2021
@iCrawl iCrawl added this to the Version 13 milestone Jun 27, 2021
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.

3 participants