From d28d20f99061d67d1e29a203ed9c8c7d0741541c Mon Sep 17 00:00:00 2001 From: kb <47297843+kbd0t@users.noreply.github.com> Date: Mon, 22 May 2023 13:46:36 +0200 Subject: [PATCH] Fixed update event not being emited when checkUpdate being disabled --- src/client/websocket/handlers/READY.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/websocket/handlers/READY.js b/src/client/websocket/handlers/READY.js index 0caae5a..f82f0ea 100644 --- a/src/client/websocket/handlers/READY.js +++ b/src/client/websocket/handlers/READY.js @@ -86,7 +86,7 @@ module.exports = async (client, { d: data }, shard) => { } }); - if (client.options.checkUpdate) { + if (client.options.checkUpdate === false) { client.checkUpdate(); }