From feec5efe45d042176a0b2d80ffb8a38161163fc2 Mon Sep 17 00:00:00 2001 From: Qjuh <76154676+Qjuh@users.noreply.github.com> Date: Thu, 17 Apr 2025 20:11:24 +0200 Subject: [PATCH] fix: don't set ready status twice (#10807) Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com> --- packages/discord.js/src/client/Client.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/discord.js/src/client/Client.js b/packages/discord.js/src/client/Client.js index 7f28e1567..23343f45d 100644 --- a/packages/discord.js/src/client/Client.js +++ b/packages/discord.js/src/client/Client.js @@ -279,7 +279,6 @@ class Client extends BaseClient { (await this.ws.fetchStatus()).every(status => status === WebSocketShardStatus.Ready) ) { this.emit(Events.Debug, 'Client received all its guilds. Marking as fully ready.'); - this.status = Status.Ready; this._triggerClientReady(); return; @@ -302,7 +301,6 @@ class Client extends BaseClient { ); this.readyTimeout = null; - this.status = Status.Ready; this._triggerClientReady(); },