Skip to content

Commit

Permalink
Fix message update parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
abitofevrything committed Aug 21, 2023
1 parent 4ad3c76 commit 537a9e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/gateway/gateway.dart
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,7 @@ class Gateway extends GatewayManager with EventParser {
guildId: guildId,
member: maybeParse(
raw['member'],
(Map<String, Object?> raw) => PartialMember(
(Map<String, Object?> _) => PartialMember(
id: Snowflake.parse((raw['author'] as Map<String, Object?>)['id']!),
manager: client.guilds[guildId ?? Snowflake.zero].members,
),
Expand Down

0 comments on commit 537a9e2

Please sign in to comment.