mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-25 06:34:58 +05:00
Disabled importmee6
Disabled commands folder
This commit is contained in:
parent
03c85acc04
commit
a76eb997bc
2 changed files with 3 additions and 0 deletions
|
@ -107,6 +107,9 @@ class JaBa extends Client {
|
||||||
const commands = [];
|
const commands = [];
|
||||||
for (let index = 0; index < folders.length; index++) {
|
for (let index = 0; index < folders.length; index++) {
|
||||||
const folder = folders[index];
|
const folder = folders[index];
|
||||||
|
|
||||||
|
if (folder.endsWith("!DISABLED")) continue;
|
||||||
|
|
||||||
const files = await fs.readdir(folder);
|
const files = await fs.readdir(folder);
|
||||||
|
|
||||||
for (let index = 0; index < files.length; index++) {
|
for (let index = 0; index < files.length; index++) {
|
||||||
|
|
Loading…
Reference in a new issue