From 81f81a6609aeb1288bda090f452260bcbc77a8b3 Mon Sep 17 00:00:00 2001 From: Scoooolzs <84376629+Scoooolzs@users.noreply.github.com> Date: Sun, 29 May 2022 20:37:15 +0700 Subject: [PATCH] Update index.js --- index.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index 043a589..599a3dc 100644 --- a/index.js +++ b/index.js @@ -12,10 +12,11 @@ if (fs.existsSync('./node_modules')) { process.exit() } } else { - console.log("You are not installing package first, please wait until Auto Installer complete.") - child.execSync("npm i").catch((err) => { - console.log("An error detected: ", err) - console.log("If you want") + console.log('You are not installing package first, please wait until Auto Installer complete.') + child.execSync('npm i').catch((err) => { + console.log('An error detected: ', err) + console.log('Need Support? https://discord.gg/zv6maQRah3') + process.exit() }) console.log("Auto Installer complete! Please re run this bot!") process.exit()