Skip to content

Commit

Permalink
Fix message update parsing (#521)
Browse files Browse the repository at this point in the history
  • Loading branch information
abitofevrything authored Aug 22, 2023
1 parent b4ea059 commit bce7eaa
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 bce7eaa

Please sign in to comment.