Update index.js

This commit is contained in:
DJj123dj
2024-08-22 16:13:27 +02:00
parent 5512bc1134
commit b3cd37bb4b
+1 -1
View File
@@ -5,7 +5,7 @@ const fs = require("fs")
const child = require("child_process")
if (!fs.existsSync("./dist/src/index.js")){
console.log("Compiling the bot...")
child.execSync("npm run build",{timeout:10000})
child.execSync("npm run build",{timeout:60000})
console.log("\n\nFinished compilation!")
}
require("./dist/src/index")