fixed custom answer

This commit is contained in:
Sarah Faey 2023-08-12 15:15:44 +02:00
parent 922bef0ddf
commit 0255a5023a
2 changed files with 8 additions and 1 deletions

View file

@ -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);

View file

@ -0,0 +1,7 @@
.textarea {
width: 600px;
}
.input[type=number] {
width: 60px;
}