diff --git a/events/ready.js b/events/ready.js index 6574ac2..81d2435 100644 --- a/events/ready.js +++ b/events/ready.js @@ -32,7 +32,7 @@ export default async (client) => { ready = true; - process.send("ready"); + if (process.env.PM2_USAGE) process.send("ready"); logger.log("info", "Started esmBot."); }; \ No newline at end of file