1
0
Fork 0

chore(polls): drop dashes from the Discord poll embed copy

The dash sweep found two user-facing em-dashes in the embed: the field name
separator and the empty-bar placeholder. Both are rendered by Discord, so they
are in scope; the field name now uses a colon and an empty bar is a plain hyphen.
This commit is contained in:
Jason Fraley 2026-12-01 14:18:30 -05:00
parent 3291340b77
commit c0f1c9fc58

View file

@ -105,8 +105,8 @@ export const renderPollEmbed = (input: PollRenderInput): EmbedBuilder => {
? `\n${names.join(", ").slice(0, 900)}` ? `\n${names.join(", ").slice(0, 900)}`
: ""; : "";
return { return {
name: `${optionLabel(option)} — ${weightedText}`, name: `${optionLabel(option)}: ${weightedText}`,
value: `${barText || "—"}${voterText}`.slice(0, 1024), value: `${barText || "-"}${voterText}`.slice(0, 1024),
inline: false, inline: false,
}; };
}); });