diff options
Diffstat (limited to 'src/lib/extensions')
-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); } |