Fix m->d poll questions over 45 characters
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user