diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-05-24 20:59:37 -0400 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-05-24 20:59:37 -0400 |
commit | a8d2c867ca35ea23d63123136e88730065ec9568 (patch) | |
tree | 9ec59b779da0ffe0f2ea7c6e654aedc81f8b2c3a /src/lib/extensions/discord-akairo | |
parent | 9f5d9da2a37ecfec412b149ec7dc385ab7b6a98c (diff) | |
download | tanzanite-a8d2c867ca35ea23d63123136e88730065ec9568.tar.gz tanzanite-a8d2c867ca35ea23d63123136e88730065ec9568.tar.bz2 tanzanite-a8d2c867ca35ea23d63123136e88730065ec9568.zip |
fix: viewraw context command and perfomance
Diffstat (limited to 'src/lib/extensions/discord-akairo')
-rw-r--r-- | src/lib/extensions/discord-akairo/BushClient.ts | 2 |
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 5618903..5ccc283 100644 --- a/src/lib/extensions/discord-akairo/BushClient.ts +++ b/src/lib/extensions/discord-akairo/BushClient.ts @@ -347,7 +347,7 @@ export class BushClient<Ready extends boolean = boolean> extends AkairoClient<Re * Initializes the bot. */ public async init() { - if (!process.version.startsWith('v17.')) { + if (parseInt(process.versions.node.split('.')[0]) <= 17) { void (await this.console.error('version', `Please use node <<v17.x.x>>, not <<${process.version}>>.`, false)); process.exit(2); } |