From 38cf6d79f613b13dd3243dad0fb2a97c8b62137b Mon Sep 17 00:00:00 2001 From: Yuzu Date: Thu, 14 Jul 2022 06:24:16 -0500 Subject: [PATCH] fix(gateway): debug events that seems to trigger in bun --- packages/discordeno/gateway/shard/identify.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/discordeno/gateway/shard/identify.ts b/packages/discordeno/gateway/shard/identify.ts index 3829101..b11bac5 100644 --- a/packages/discordeno/gateway/shard/identify.ts +++ b/packages/discordeno/gateway/shard/identify.ts @@ -5,7 +5,7 @@ export async function identify(shard: Shard): Promise { // A new identify has been requested even though there is already a connection open. // Therefore we need to close the old connection and heartbeating before creating a new one. if (shard.state === ShardState.Connected) { - console.log("CLOSING EXISTING SHARD: #" + shard.id); + // console.log("CLOSING EXISTING SHARD: #" + shard.id); shard.close(ShardSocketCloseCodes.ReIdentifying, "Re-identifying closure of old connection."); }