style: apply biome formatting
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user