Fix: cache

This commit is contained in:
TriForMine
2021-11-09 20:56:22 +01:00
committed by GitHub
parent 29f215eafe
commit 4366f0087f
+6
View File
@@ -82,6 +82,9 @@ export function createCache(
presences: options.tableCreator(bot, "presences"),
// threads: options.tableCreator(bot, "threads"),
unavailableGuilds: options.tableCreator(bot, "unavailableGuilds"),
dispatchedGuildIds: new Set(),
dispatchedChannelIds: new Set(),
activeGuildIds: new Set(),
executedSlashCommands: new Set(),
fetchAllMembersProcessingRequests: new Map(),
} as AsyncCache;
@@ -103,6 +106,9 @@ export function createCache(
presences: options.tableCreator(bot, "presences"),
// threads: options.tableCreator(bot, "threads"),
unavailableGuilds: options.tableCreator(bot, "unavailableGuilds"),
dispatchedGuildIds: new Set(),
dispatchedChannelIds: new Set(),
activeGuildIds: new Set(),
executedSlashCommands: new Set(),
fetchAllMembersProcessingRequests: new Map(),
} as Cache;