Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix
WebSocketGatewayClientExt::send_chunk_guild
to not get disconne…
…cted by Discord's gateway (#1200) * Send the guild ID as a string instead of an array when requesting members list from Discord In API version 8, Discord's gateway expects a guild ID as a string instead of as an array when requesting guild members. Sending as an array causes the payload to be invalid and, therefore, the gateway closes the connection * Set query even if no filter was applied by the user Either the query or the user ID array is required when sending a member list request to Discord, according to their API v8 documentation
- Loading branch information