lots of stuff noo need to say it lol

This commit is contained in:
NoLogicAlan committed 2026-05-08 21:29:32 +03:00
1 parent 009ec31dd8
commit 57912539a9
7 files changed
+265 -487

No files matched your search

-6
View File
@@ -64,12 +64,6 @@ export class GatewayHandler {
return { key: directKey, value: this._prevVoiceState.get(directKey) };
}
// Only do fuzzy search if guildId is null (e.g. from a gateway event
// that doesn't include guild context). When guildId IS provided, we
// must NOT match entries from other guilds — that causes false
// "cross-guild re-key" warnings during multi-guild recovery.
if (guildId) return { key: null, value: null };
const cleanUserId = String(userId ?? "").replace(/\D/g, "");
if (!cleanUserId) return { key: null, value: null };