members and roles to controllers

This commit is contained in:
Skillz
2020-09-12 12:27:34 -04:00
parent a0251568f7
commit 2ff52d96e1
7 changed files with 220 additions and 179 deletions
+2
View File
@@ -12,6 +12,7 @@ export interface CacheData {
messages: Collection<string, Message>;
unavailableGuilds: Collection<string, number>;
presences: Collection<string, PresenceUpdatePayload>;
fetchAllMembersProcessingRequests: Collection<string, Function>;
}
export const cache: CacheData = {
@@ -21,6 +22,7 @@ export const cache: CacheData = {
messages: new Collection(),
unavailableGuilds: new Collection(),
presences: new Collection(),
fetchAllMembersProcessingRequests: new Collection<string, Function>(),
};
async function cleanMessageCache() {