diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-12-11 17:09:46 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-12-11 17:09:46 -0500 |
commit | 430787969d73de770385f5ee0a131fc85f433762 (patch) | |
tree | acd7225ad805290e2ae879765e255e4891dc3226 /src/lib/extensions/discord-akairo | |
parent | 624445fa6d6f19da1aead1aa2ecc15f878fae231 (diff) | |
download | tanzanite-430787969d73de770385f5ee0a131fc85f433762.tar.gz tanzanite-430787969d73de770385f5ee0a131fc85f433762.tar.bz2 tanzanite-430787969d73de770385f5ee0a131fc85f433762.zip |
hopefully handle some errors better
Diffstat (limited to 'src/lib/extensions/discord-akairo')
-rw-r--r-- | src/lib/extensions/discord-akairo/BushClient.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/extensions/discord-akairo/BushClient.ts b/src/lib/extensions/discord-akairo/BushClient.ts index 45ad7ca..c87a1d9 100644 --- a/src/lib/extensions/discord-akairo/BushClient.ts +++ b/src/lib/extensions/discord-akairo/BushClient.ts @@ -367,6 +367,7 @@ export class BushClient<Ready extends boolean = boolean> extends AkairoClient<Re await this.login(this.token!); } catch (e) { await this.console.error('start', util.inspect(e, { colors: true, depth: 1 }), false); + process.exit(1); } } |