style: apply biome formatting

This commit is contained in:
Peter Steinberger committed 2026-01-02 01:29:05 +01:00
1 parent 336048441c
commit c31070db24
13 files changed
+78 -62

No files matched your search

+3 -1
View File
@@ -53,7 +53,9 @@ function normalizeReactionEmoji(raw: string) {
throw new Error("emoji required");
}
const customMatch = trimmed.match(/^<a?:([^:>]+):(\d+)>$/);
const identifier = customMatch ? `${customMatch[1]}:${customMatch[2]}` : trimmed;
const identifier = customMatch
? `${customMatch[1]}:${customMatch[2]}`
: trimmed;
return encodeURIComponent(identifier);
}