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:
parent
3291340b77
commit
c0f1c9fc58
1 changed files with 2 additions and 2 deletions
|
|
@ -105,8 +105,8 @@ export const renderPollEmbed = (input: PollRenderInput): EmbedBuilder => {
|
|||
? `\n${names.join(", ").slice(0, 900)}`
|
||||
: "";
|
||||
return {
|
||||
name: `${optionLabel(option)} — ${weightedText}`,
|
||||
value: `${barText || "—"}${voterText}`.slice(0, 1024),
|
||||
name: `${optionLabel(option)}: ${weightedText}`,
|
||||
value: `${barText || "-"}${voterText}`.slice(0, 1024),
|
||||
inline: false,
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue