From b5793611d57a734d75b6a0845c441f33d144a5c0 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Wed, 4 Aug 2021 19:32:39 -0400 Subject: misc --- src/tasks/updateCache.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/tasks') diff --git a/src/tasks/updateCache.ts b/src/tasks/updateCache.ts index 95ceca1..910088f 100644 --- a/src/tasks/updateCache.ts +++ b/src/tasks/updateCache.ts @@ -13,13 +13,13 @@ export class UpdateCacheTask extends BushTask { } public override async exec(): Promise { await UpdateCacheTask.updateGlobalCache(client); - await UpdateCacheTask.updateGuildCache(client); + await UpdateCacheTask.#updateGuildCache(client); void client.logger.verbose(`UpdateCache`, `Updated cache.`); } public static async init(client: BushClient): Promise { await UpdateCacheTask.updateGlobalCache(client); - await UpdateCacheTask.updateGuildCache(client); + await UpdateCacheTask.#updateGuildCache(client); } private static async updateGlobalCache(client: BushClient): Promise { @@ -41,7 +41,7 @@ export class UpdateCacheTask extends BushTask { } } - private static async updateGuildCache(client: BushClient): Promise { + static async #updateGuildCache(client: BushClient): Promise { const rows = await Guild.findAll(); for (const row of rows) { client.cache.guilds.set(row.id, row.toJSON() as Guild); -- cgit