fix the index, lol

This commit is contained in:
rhearmas 2020-01-07 19:55:48 -05:00
parent 8856c6c17c
commit fcc56c3b56
1 changed files with 1 additions and 1 deletions

View File

@ -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);
});