Hopefully fix shit

This commit is contained in:
Ecolipsy 2021-12-02 17:28:41 +01:00
parent 102963c5b7
commit 549ab4e19d
2 changed files with 2 additions and 1 deletions

View file

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

View file

@ -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