From 549ab4e19d7752c9a53858f8dec1ee7c16ccfa34 Mon Sep 17 00:00:00 2001 From: Ecolipsy Date: Thu, 2 Dec 2021 17:28:41 +0100 Subject: [PATCH] Hopefully fix shit --- index.js | 2 +- start.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 441a571..99ac7f6 100644 --- a/index.js +++ b/index.js @@ -17,7 +17,7 @@ function parseCommands(){ var rootdir = fs.readdirSync("Juustobotti/commands"); rootdir.forEach(categorydir => { if(!isDir("Juustobotti/commands/" + categorydir)) return; - if(categorydir == "fun") return; + if(categorydir == "fun" || categorydir == "osu") return; fs.readdirSync("Juustobotti/commands/" + categorydir).forEach(file => { if(isDir("Juustobotti/commands/" + categorydir + "/" + file)) return; if(file == "rockpaperscissors.js") return; diff --git a/start.sh b/start.sh index 32b9b25..e6403f5 100755 --- a/start.sh +++ b/start.sh @@ -3,6 +3,7 @@ do rm -rf Juustobotti git clone https://github.com/Pizzakeitto/Juustobotti.git rm Juustobotti/.git + echo '{"prefix": "ju!"}' > Juustobotti/config.json git pull node . done