style: fix biome formatting after audit fixes
This commit is contained in:
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");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user