Fix m->d poll questions over 45 characters

This commit is contained in:
Cadence Ember
2026-08-16 22:32:10 +12:00
parent b3ef973568
commit 674cd532cd
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -55,10 +55,10 @@ async function* _interact({data, message, member, user}, {api}) {
title: "Poll",
components: [{
type: DiscordTypes.ComponentType.TextDisplay,
content: `-# ${pollComponents.getMultiSelectString(pollRow.max_selections, options.length)}`
content: `## ${pollRow.question_text}`
}, {
type: DiscordTypes.ComponentType.Label,
label: pollRow.question_text,
label: pollComponents.getMultiSelectString(pollRow.max_selections, options.length),
component: {
type: DiscordTypes.ComponentType.RadioGroup,
custom_id: "POLL_MODAL_SELECTION",