buttons buttons and more buttons

This commit is contained in:
Skillz
2021-05-01 08:16:28 -04:00
parent b0ce5c2e56
commit 6de8e1d428
28 changed files with 235 additions and 63 deletions
-2
View File
@@ -30,8 +30,6 @@ export async function handleGuildUpdate(data: DiscordGatewayPayload) {
if (Array.isArray(cachedValue) && Array.isArray(value)) {
const different = (cachedValue.length !== value.length) ||
cachedValue.find((val) => !value.includes(val)) ||
// TODO: check if this really works hehe
// @ts-ignore typescript thinks that this is not an array
value.find((val) => !cachedValue.includes(val));
if (!different) return;
}