This commit is contained in:
MARCROCK22 2025-05-20 20:20:11 -04:00
parent 3350570334
commit d9aef4335d

View File

@ -301,7 +301,7 @@ export class Shard {
clearTimeout(this.connectionTimeout); clearTimeout(this.connectionTimeout);
this.connectionTimeout = undefined; this.connectionTimeout = undefined;
if (hasIntent(this.options.intents, 'Guilds')) { 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; this.data.resume_gateway_url = packet.d.resume_gateway_url;