aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-10-09 21:02:18 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-10-09 21:02:18 -0400
commit25752446d6166ff5733909160bae62cdd121339c (patch)
tree52b45189d7d3b63a8e58c783e0561bf376b4a41b /src/lib/extensions
parent51228472c7b724b23457a4d958f3bf66566492cc (diff)
downloadtanzanite-25752446d6166ff5733909160bae62cdd121339c.tar.gz
tanzanite-25752446d6166ff5733909160bae62cdd121339c.tar.bz2
tanzanite-25752446d6166ff5733909160bae62cdd121339c.zip
a whole lot of nothing
Diffstat (limited to 'src/lib/extensions')
-rw-r--r--src/lib/extensions/discord-akairo/BushClient.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/extensions/discord-akairo/BushClient.ts b/src/lib/extensions/discord-akairo/BushClient.ts
index c4f92e7..a053f00 100644
--- a/src/lib/extensions/discord-akairo/BushClient.ts
+++ b/src/lib/extensions/discord-akairo/BushClient.ts
@@ -353,7 +353,6 @@ export class BushClient<Ready extends boolean = boolean> extends AkairoClient<Re
await UpdateCacheTask.init(this);
void this.console.success('startup', `Successfully created <<cache>>.`, false);
this.stats.commandsUsed = await UpdateStatsTask.init();
- this.taskHandler.startAll!();
}
public async dbPreInit(): Promise<void> {
@@ -401,6 +400,7 @@ export class BushClient<Ready extends boolean = boolean> extends AkairoClient<Re
try {
await this.#init();
await this.login(this.token!);
+ this.taskHandler.startAll();
} catch (e) {
await this.console.error('start', util.inspect(e, { colors: true, depth: 1 }), false);
}