From 371f2787dca039bd1b0ea00b93af31a2a51525df Mon Sep 17 00:00:00 2001 From: "Aditya N. Tripathi" Date: Thu, 20 May 2021 21:17:03 +0530 Subject: [PATCH] fix(cache): emojis to use bigint for key --- src/cache.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cache.ts b/src/cache.ts index 3abdab3c9..76f351156 100644 --- a/src/cache.ts +++ b/src/cache.ts @@ -31,7 +31,7 @@ export const cache = { >(), executedSlashCommands: new Set(), get emojis() { - return new Collection( + return new Collection( this.guilds.reduce( (a, b) => [...a, ...b.emojis.map((e) => [e.id, e])], [] as any[],