diff --git a/src/handlers/misc/READY.ts b/src/handlers/misc/READY.ts index 8bee0fbdf..1109fb1d5 100644 --- a/src/handlers/misc/READY.ts +++ b/src/handlers/misc/READY.ts @@ -38,7 +38,7 @@ function checkReady(payload: Ready, shard: DiscordenoShard) { // Check if all guilds were loaded if (!shard.unavailableGuildIds.size) return loaded(shard); - // If the last GUILD_CREATE has been received before 5 seconds if so most likely the remaining guilds are unavailable + // If the last GUILD_CREATE was received 5 seconds ago, the remaining guilds are most likely not available if (shard.lastAvailable + 5000 < Date.now()) { eventHandlers.shardFailedToLoad?.(shard.id, shard.unavailableGuildIds); // Force execute the loaded function to prevent infinite loop