mirror of
https://github.com/discordeno/discordeno.git
synced 2026-09-17 16:57:22 +00:00
Merge pull request #954 from AdityaTD/main
fix(cache): emojis to use bigint for key
This commit is contained in:
+1
-1
@@ -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[],
|
||||
|
||||
Reference in New Issue
Block a user