Merge branch 'fp-attempt-9001' of https://github.com/discordeno/discordeno into no-caching

This commit is contained in:
Skillz4Killz
2021-11-10 20:33:49 +00:00
committed by GitHub
+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;