mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-11-10 03:40:19 +00:00
Update Client.ts
This commit is contained in:
parent
3b5c241872
commit
24071eb5df
@ -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}`);
|
||||
|
Loading…
Reference in New Issue
Block a user