Spaces:
Paused
Paused
πππ₯π₯πππ π π¨ππππ₯π β‘
commited on
Update main-restart.js
Browse files- plugins/main-restart.js +2 -2
plugins/main-restart.js
CHANGED
|
@@ -238,11 +238,11 @@ async (conn, mek, m, {
|
|
| 238 |
}
|
| 239 |
|
| 240 |
const { exec } = require("child_process");
|
| 241 |
-
reply("Restarting...");
|
| 242 |
await sleep(1500);
|
| 243 |
exec("pm2 restart all");
|
| 244 |
} catch (e) {
|
| 245 |
console.error(e);
|
| 246 |
reply(`${e}`);
|
| 247 |
}
|
| 248 |
-
});
|
|
|
|
| 238 |
}
|
| 239 |
|
| 240 |
const { exec } = require("child_process");
|
| 241 |
+
reply("> Subzero Bot Restarting...");
|
| 242 |
await sleep(1500);
|
| 243 |
exec("pm2 restart all");
|
| 244 |
} catch (e) {
|
| 245 |
console.error(e);
|
| 246 |
reply(`${e}`);
|
| 247 |
}
|
| 248 |
+
});
|