diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-06-16 14:32:18 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-06-16 14:32:18 -0400 |
commit | 0e87bbd3940d89defcb04926587b35c8f4d1947f (patch) | |
tree | e50860d4dc25a11d4c3977b583284c4bcad1b077 /src/tasks/updateCache.ts | |
parent | 661e4c9935aeb8760dafc7ced4bbec6cc356a033 (diff) | |
download | tanzanite-0e87bbd3940d89defcb04926587b35c8f4d1947f.tar.gz tanzanite-0e87bbd3940d89defcb04926587b35c8f4d1947f.tar.bz2 tanzanite-0e87bbd3940d89defcb04926587b35c8f4d1947f.zip |
remove util classes, move config out of src
Diffstat (limited to 'src/tasks/updateCache.ts')
-rw-r--r-- | src/tasks/updateCache.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tasks/updateCache.ts b/src/tasks/updateCache.ts index 3794f76..487b9bc 100644 --- a/src/tasks/updateCache.ts +++ b/src/tasks/updateCache.ts @@ -1,7 +1,7 @@ import { Time } from '#constants'; import { Global, Guild, Shared, type BushClient } from '#lib'; +import config from '../../config/options.js'; import { BushTask } from '../lib/extensions/discord-akairo/BushTask.js'; -import config from './../config/options.js'; export default class UpdateCacheTask extends BushTask { public constructor() { @@ -11,7 +11,7 @@ export default class UpdateCacheTask extends BushTask { }); } - public override async exec() { + public async exec() { await Promise.all([ UpdateCacheTask.#updateGlobalCache(client), UpdateCacheTask.#updateSharedCache(client), |