style: fix biome formatting after audit fixes

This commit is contained in:
asepharyana committed 2026-08-26 18:12:02 +07:00
1 parent 9f02edd646
commit 709074935f
4 files changed
+20 -9

No files matched your search

@@ -146,7 +146,11 @@ function isAlreadyDeletedError(error: unknown): boolean {
return true;
// Fallback: check the message text for the Discord "Unknown Message" string
const msg =
error instanceof Error ? error.message : typeof error === "string" ? error : "";
error instanceof Error
? error.message
: typeof error === "string"
? error
: "";
return msg.includes("Unknown Message") || msg.includes("Unknown Channel");
}