Merge pull request #954 from AdityaTD/main

fix(cache): emojis to use bigint for key
This commit is contained in:
ITOH
2021-05-20 17:53:57 +02:00
committed by GitHub
+1 -1
View File
@@ -31,7 +31,7 @@ export const cache = {
>(),
executedSlashCommands: new Set<string>(),
get emojis() {
return new Collection<string, Emoji>(
return new Collection<bigint, Emoji>(
this.guilds.reduce(
(a, b) => [...a, ...b.emojis.map((e) => [e.id, e])],
[] as any[],