From 1da85da2466d28901e95ae4ef882bc5c48c8e2bf Mon Sep 17 00:00:00 2001 From: ITOH <72305210+itohatweb@users.noreply.github.com> Date: Mon, 12 Apr 2021 11:47:47 +0200 Subject: [PATCH] Update GUILD_UPDATE.ts --- src/handlers/guilds/GUILD_UPDATE.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handlers/guilds/GUILD_UPDATE.ts b/src/handlers/guilds/GUILD_UPDATE.ts index 72f06cc45..a565ce2bd 100644 --- a/src/handlers/guilds/GUILD_UPDATE.ts +++ b/src/handlers/guilds/GUILD_UPDATE.ts @@ -31,7 +31,7 @@ export async function handleGuildUpdate(data: DiscordGatewayPayload) { const different = (cachedValue.length !== value.length) || cachedValue.find((val) => !value.includes(val)) || // TODO: check if this really works hehe - // @ts-ignore this works ts is wrong + // @ts-ignore typescript thinks that this is not an array value.find((val) => !cachedValue.includes(val)); if (!different) return; }