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)
|
public static Modal buildMessage(int pollId, string question)
|
||||||
{
|
{
|
||||||
var mb = new ModalBuilder()
|
var mb = new ModalBuilder()
|
||||||
.WithTitle(question)
|
.WithTitle("Answer")
|
||||||
.WithCustomId($"{Constants.ComponentIds.POLL_CUSTOM_ANSWER_MODAL}-{pollId}")
|
.WithCustomId($"{Constants.ComponentIds.POLL_CUSTOM_ANSWER_MODAL}-{pollId}")
|
||||||
.AddTextInput("Answer", Constants.ComponentIds.POLL_CUSTOM_ANSWER_TEXT_BOX, placeholder: "Yes", required: true);
|
.AddTextInput("Answer", Constants.ComponentIds.POLL_CUSTOM_ANSWER_TEXT_BOX, placeholder: "Yes", required: true);
|
||||||
|
|
||||||
|
|
7
Lieb/Pages/Raids/RaidEdit/RaidTemplateEdit.razor.css
Normal file
7
Lieb/Pages/Raids/RaidEdit/RaidTemplateEdit.razor.css
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
.textarea {
|
||||||
|
width: 600px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.input[type=number] {
|
||||||
|
width: 60px;
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue