Hopefully fix shit
This commit is contained in:
parent
102963c5b7
commit
549ab4e19d
2 changed files with 2 additions and 1 deletions
2
index.js
2
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;
|
||||
|
|
1
start.sh
1
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
|
||||
|
|
Loading…
Reference in a new issue