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] Some async related issues #2800

Merged
merged 1 commit into from
Dec 26, 2023

Conversation

Misha-133
Copy link
Member

Description

The merge of #2739 has uncovered some issues with the library that have been ignored/unnoticed for a long time. This PR aims to fix those issues.

Changes

  • fix the exception thrown by DownloadUsersAsync in DiscordSocketClient hanging the connection. Previously in case the client had AlwaysDownloadUsers set to true while missing GatewayIntents.GuildMembers the exception would just go unnoticed, when after the update it would hang the WS. Now it will be caught & logged.

@Misha-133 Misha-133 merged commit 8227d70 into discord-net:dev Dec 26, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants