client.config.maintenance to client.config.maintenanceMode

This commit is contained in:
Christer Warén committed 2021-09-12 17:38:52 +03:00
1 parent b08de94c64
commit 752bd07c5d
5 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -57,7 +57,7 @@ class RadioClient extends Client {
this.funcs.logger("Bot", "Starting");
this.funcs.logger("Maintenance Mode", "Enabled");
this.config.maintenance = true;
this.config.maintenanceMode = true;
const commandFiles = fs.readdirSync(path.join("./src/client/commands")).filter(f => f.endsWith(".js"));
for (const file of commandFiles) {