From d5a79f63aba27385581d7208a9e222b90fe0c215 Mon Sep 17 00:00:00 2001 From: Ecolipsy Date: Thu, 2 Dec 2021 17:10:24 +0100 Subject: [PATCH] Fix things (hopefully) --- index.js | 1 + 1 file changed, 1 insertion(+) 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;