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, ),