From cb750202d5e8bd323c2d9628930506b4c870b845 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Sun, 21 Aug 2022 14:07:47 -0400 Subject: node 18 --- lib/extensions/discord-akairo/BushClient.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/extensions/discord-akairo/BushClient.ts b/lib/extensions/discord-akairo/BushClient.ts index 92968d6..b311ffd 100644 --- a/lib/extensions/discord-akairo/BushClient.ts +++ b/lib/extensions/discord-akairo/BushClient.ts @@ -390,8 +390,8 @@ export class BushClient extends AkairoClient>, not <<${process.version}>>.`, false)); + if (parseInt(process.versions.node.split('.')[0]) < 18) { + void (await this.console.error('version', `Please use node <>, not <<${process.version}>>.`, false)); process.exit(2); } -- cgit