remove weird debugging

This commit is contained in:
MathMan05
2026-03-20 16:31:32 +01:00
committed by Rory&
parent e4429e910c
commit 3126b4bdf0
+1 -2
View File
@@ -780,12 +780,11 @@ export async function onIdentify(this: WebSocket, data: Payload) {
// If we're a bot user, send GUILD_CREATE for each unavailable guild
// TODO: check if bot has permission to view some of these based on intents (i.e. GUILD_MEMBERS, GUILD_PRESENCES, GUILD_VOICE_STATES)
await Promise.all(
pending_guilds.map((x) => {
//Even with the GUILD_MEMBERS intent, the bot always receives just itself as the guild members
const botMemberObject = members.find((member) => member.guild_id === x.id);
//Object.assign(x, { threads: [] });
return Send(this, {
op: OPCODES.Dispatch,
t: EVENTEnum.GuildCreate,