From 3795c85a7d33482c22317e9c094796d1e0166fbd Mon Sep 17 00:00:00 2001 From: Essem Date: Wed, 2 Nov 2022 20:24:13 -0500 Subject: [PATCH] Fix standalone mode --- events/ready.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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