Disabled importmee6

Disabled commands folder
This commit is contained in:
Jonny_Bro (Nikita) 2023-05-31 20:11:38 +05:00
parent 03c85acc04
commit a76eb997bc
2 changed files with 3 additions and 0 deletions

View file

@ -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++) {