From 24071eb5dfa2d5ead23e55740f72265cd3328bd0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christer=20War=C3=A9n?= Date: Thu, 9 Sep 2021 18:55:42 +0300 Subject: [PATCH] Update Client.ts --- src/Client.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Client.ts b/src/Client.ts index 3bfdcc3..2e0d282 100644 --- a/src/Client.ts +++ b/src/Client.ts @@ -52,6 +52,9 @@ class RadioClient extends Client { this.funcs.logger("Bot", "Starting"); + this.funcs.logger("Maintenance Mode", "Enabled"); + this.config.maintenance = true; + const commandFiles = fs.readdirSync(path.join("./src/client/commands")).filter(f => f.endsWith(".js")); for (const file of commandFiles) { const command = require(`./client/commands/${file}`);