diff --git a/index.js b/index.js index be62cf5..9992a88 100644 --- a/index.js +++ b/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")) return; + if (!f.endsWith(".js") || !f.startsWith("_")) return; const response = client.loadCommand(f); if (response) console.log(response); }); @@ -61,4 +61,4 @@ const init = async () => { client.login(client.config.token); }; -init(); \ No newline at end of file +init();