diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-12-26 17:23:13 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-12-26 17:23:13 -0500 |
commit | 4990d33a22779b524ff6476bb05fcc21cad4eace (patch) | |
tree | ec47b4a5399e1102d9d94088769e62601014dcce /src/lib | |
parent | fc390ffc300334c396d9d06b0feaf8fbc6ed2814 (diff) | |
download | tanzanite-4990d33a22779b524ff6476bb05fcc21cad4eace.tar.gz tanzanite-4990d33a22779b524ff6476bb05fcc21cad4eace.tar.bz2 tanzanite-4990d33a22779b524ff6476bb05fcc21cad4eace.zip |
add dry run to tests
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/extensions/discord-akairo/BushClient.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/extensions/discord-akairo/BushClient.ts b/src/lib/extensions/discord-akairo/BushClient.ts index d7c8b60..41ecfaf 100644 --- a/src/lib/extensions/discord-akairo/BushClient.ts +++ b/src/lib/extensions/discord-akairo/BushClient.ts @@ -299,6 +299,10 @@ export class BushClient<Ready extends boolean = boolean> extends AkairoClient<Re logging: this.config.logging.db ? (sql) => this.logger.debug(sql) : false, timezone: 'America/New_York' }); + + // global objects + global.client = this; + global.util = this.util; } /** @@ -448,10 +452,6 @@ export class BushClient<Ready extends boolean = boolean> extends AkairoClient<Re return done(null, `intercepted ${arg}`); }); - // global objects - global.client = this; - global.util = this.util; - try { await this.dbPreInit(); await UpdateCacheTask.init(this); |