diff --git a/Gateway/EventDispatcher.pike b/Gateway/EventDispatcher.pike index ee60594..17bc4c0 100644 --- a/Gateway/EventDispatcher.pike +++ b/Gateway/EventDispatcher.pike @@ -239,7 +239,7 @@ class EventDispatcher { Guild guild = restUtils->fetchCacheGuild(data.guild_id, client); if (!guild) return; - GuildMember cached = restUtils->fetchCacheUser(data.user.id, client); + GuildMember cached = restUtils->fetchCacheGuildMember(data.user.id, client, guild); if (!cached) return; GuildMember newMember = GuildMember(client, guild, data);