diff --git a/index.js b/index.js index 6373560..e2b6715 100644 --- a/index.js +++ b/index.js @@ -17,6 +17,7 @@ function parseCommands(){ var rootdir = fs.readdirSync("Juustobotti/commands"); rootdir.forEach(categorydir => { if(!isDir("Juustobotti/commands/" + categorydir)) return; + if(categorydir == "fun") return; require("Juustobotti/commands/" + categorydir).forEach(file => { if(isDir("Juustobotti/commands/" + categorydir + "/" + file)) return; indexes.file = categorydir;