diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-07-26 18:47:13 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-07-26 18:47:13 -0400 |
commit | 80d5b5b11ae261945dc725a0a80115922003afcf (patch) | |
tree | 16c9f251b4d53456b4b5340c0203d35fd5870859 /src/tasks/updateCache.ts | |
parent | cca0b7a03bcd61af12b7f9bff51276f6c70beeb3 (diff) | |
download | tanzanite-80d5b5b11ae261945dc725a0a80115922003afcf.tar.gz tanzanite-80d5b5b11ae261945dc725a0a80115922003afcf.tar.bz2 tanzanite-80d5b5b11ae261945dc725a0a80115922003afcf.zip |
refactor: this.client -> client
Diffstat (limited to 'src/tasks/updateCache.ts')
-rw-r--r-- | src/tasks/updateCache.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tasks/updateCache.ts b/src/tasks/updateCache.ts index 404173b..721b2db 100644 --- a/src/tasks/updateCache.ts +++ b/src/tasks/updateCache.ts @@ -12,9 +12,9 @@ export class UpdateCacheTask extends BushTask { }); } public async exec(): Promise<void> { - await UpdateCacheTask.updateGlobalCache(this.client); - await UpdateCacheTask.updateGuildCache(this.client); - await this.client.logger.verbose(`UpdateCache`, `Updated cache.`); + await UpdateCacheTask.updateGlobalCache(client); + await UpdateCacheTask.updateGuildCache(client); + await client.logger.verbose(`UpdateCache`, `Updated cache.`); } public static async init(client: BushClient): Promise<void> { |