From d9aef4335df8a52ea63ffd255058d94b116388d8 Mon Sep 17 00:00:00 2001 From: MARCROCK22 Date: Tue, 20 May 2025 20:20:11 -0400 Subject: [PATCH] fix: xd --- src/websocket/discord/shard.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/websocket/discord/shard.ts b/src/websocket/discord/shard.ts index 007de23..182df7e 100644 --- a/src/websocket/discord/shard.ts +++ b/src/websocket/discord/shard.ts @@ -301,7 +301,7 @@ export class Shard { clearTimeout(this.connectionTimeout); this.connectionTimeout = undefined; if (hasIntent(this.options.intents, 'Guilds')) { - this.pendingGuilds = new Set(...packet.d.guilds.map(guild => guild.id)); + this.pendingGuilds = new Set(packet.d.guilds.map(guild => guild.id)); } this.data.resume_gateway_url = packet.d.resume_gateway_url;