aboutsummaryrefslogtreecommitdiff
path: root/lib/extensions/discord-akairo
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-08-21 14:07:47 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-08-21 14:07:47 -0400
commitcb750202d5e8bd323c2d9628930506b4c870b845 (patch)
tree904e112e1d4f8365c50bbb00ae601a2b65b21700 /lib/extensions/discord-akairo
parent932e6a75ccb1715d70e5060a89ccd3754c656186 (diff)
downloadtanzanite-cb750202d5e8bd323c2d9628930506b4c870b845.tar.gz
tanzanite-cb750202d5e8bd323c2d9628930506b4c870b845.tar.bz2
tanzanite-cb750202d5e8bd323c2d9628930506b4c870b845.zip
node 18
Diffstat (limited to 'lib/extensions/discord-akairo')
-rw-r--r--lib/extensions/discord-akairo/BushClient.ts4
1 files changed, 2 insertions, 2 deletions
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<Ready extends boolean = boolean> extends AkairoClient<Re
* Initializes the bot.
*/
public async init() {
- if (parseInt(process.versions.node.split('.')[0]) < 17) {
- void (await this.console.error('version', `Please use node <<v17.x.x>>, not <<${process.version}>>.`, false));
+ if (parseInt(process.versions.node.split('.')[0]) < 18) {
+ void (await this.console.error('version', `Please use node <<v18.x.x>>, not <<${process.version}>>.`, false));
process.exit(2);
}