fixed custom answer
This commit is contained in:
parent
922bef0ddf
commit
0255a5023a
2 changed files with 8 additions and 1 deletions
|
@ -11,7 +11,7 @@ namespace DiscordBot.Messages
|
|||
public static Modal buildMessage(int pollId, string question)
|
||||
{
|
||||
var mb = new ModalBuilder()
|
||||
.WithTitle(question)
|
||||
.WithTitle("Answer")
|
||||
.WithCustomId($"{Constants.ComponentIds.POLL_CUSTOM_ANSWER_MODAL}-{pollId}")
|
||||
.AddTextInput("Answer", Constants.ComponentIds.POLL_CUSTOM_ANSWER_TEXT_BOX, placeholder: "Yes", required: true);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue