From bce7eaa774fe4b0ad15aa5ca7b07fa5cfbb1386e Mon Sep 17 00:00:00 2001 From: Abitofevrything <54505189+abitofevrything@users.noreply.github.com> Date: Tue, 22 Aug 2023 15:23:04 -0700 Subject: [PATCH] Fix message update parsing (#521) --- lib/src/gateway/gateway.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/gateway/gateway.dart b/lib/src/gateway/gateway.dart index f5dc60682..a0f3b535b 100644 --- a/lib/src/gateway/gateway.dart +++ b/lib/src/gateway/gateway.dart @@ -805,7 +805,7 @@ class Gateway extends GatewayManager with EventParser { guildId: guildId, member: maybeParse( raw['member'], - (Map raw) => PartialMember( + (Map _) => PartialMember( id: Snowflake.parse((raw['author'] as Map)['id']!), manager: client.guilds[guildId ?? Snowflake.zero].members, ),