From a76eb997bc1966d82fc909e0fb8ea0f21dd4759f Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Wed, 31 May 2023 20:11:38 +0500 Subject: [PATCH] Disabled importmee6 Disabled commands folder --- base/JaBa.js | 3 +++ commands/{Economy => !DISABLED}/importmee6.js | 0 2 files changed, 3 insertions(+) rename commands/{Economy => !DISABLED}/importmee6.js (100%) diff --git a/base/JaBa.js b/base/JaBa.js index 43fe6228..c6ca78cb 100644 --- a/base/JaBa.js +++ b/base/JaBa.js @@ -107,6 +107,9 @@ class JaBa extends Client { const commands = []; for (let index = 0; index < folders.length; index++) { const folder = folders[index]; + + if (folder.endsWith("!DISABLED")) continue; + const files = await fs.readdir(folder); for (let index = 0; index < files.length; index++) { diff --git a/commands/Economy/importmee6.js b/commands/!DISABLED/importmee6.js similarity index 100% rename from commands/Economy/importmee6.js rename to commands/!DISABLED/importmee6.js