fix the index, lol
This commit is contained in:
parent
8856c6c17c
commit
fcc56c3b56
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -38,7 +38,7 @@ const init = async () => {
|
|||
await crawl("commands",cmdFiles);
|
||||
client.logger.log(`Loading a total of ${cmdFiles.length} commands.`);
|
||||
cmdFiles.forEach(f => {
|
||||
if (!f.endsWith(".js") || !f.startsWith("_")) return;
|
||||
if (!f.endsWith(".js") || f.startsWith("commands\\_")) return;
|
||||
const response = client.loadCommand(f);
|
||||
if (response) console.log(response);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue