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");
|
var rootdir = fs.readdirSync("Juustobotti/commands");
|
||||||
rootdir.forEach(categorydir => {
|
rootdir.forEach(categorydir => {
|
||||||
if(!isDir("Juustobotti/commands/" + categorydir)) return;
|
if(!isDir("Juustobotti/commands/" + categorydir)) return;
|
||||||
if(categorydir == "fun") return;
|
if(categorydir == "fun" || categorydir == "osu") return;
|
||||||
fs.readdirSync("Juustobotti/commands/" + categorydir).forEach(file => {
|
fs.readdirSync("Juustobotti/commands/" + categorydir).forEach(file => {
|
||||||
if(isDir("Juustobotti/commands/" + categorydir + "/" + file)) return;
|
if(isDir("Juustobotti/commands/" + categorydir + "/" + file)) return;
|
||||||
if(file == "rockpaperscissors.js") return;
|
if(file == "rockpaperscissors.js") return;
|
||||||
|
|
1
start.sh
1
start.sh
|
@ -3,6 +3,7 @@ do
|
||||||
rm -rf Juustobotti
|
rm -rf Juustobotti
|
||||||
git clone https://github.com/Pizzakeitto/Juustobotti.git
|
git clone https://github.com/Pizzakeitto/Juustobotti.git
|
||||||
rm Juustobotti/.git
|
rm Juustobotti/.git
|
||||||
|
echo '{"prefix": "ju!"}' > Juustobotti/config.json
|
||||||
git pull
|
git pull
|
||||||
node .
|
node .
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue