I'm just tryna send a Modal after a user presses a button but get DSharpPlus.Exceptions.BadRequestException: Bad request: 400 back, with a JsonMessage of Invalid Form Body.
I looked around using the search in here but the only other guy with this issue had almost the exact same code and never responded if it worked for him after removing DeferAsync which im not using.
Heres my shitcode:
await event.Interaction.CreateResponseAsync(InteractionResponseType.Modal, new DiscordInteractionResponseBuilder()
.WithTitle("Funny Title")
.WithCustomId("submitcreditcardinfomodal")
.AddComponents(
new TextInputComponent("front", "frontnumbers", "The Numbers on the front of the card", null, true, TextInputStyle.Short, 5, 64),
new TextInputComponent("name", "cardholdername", "The name on the card", null, true, TextInputStyle.Paragraph, 5, 64)
new TextInputComponent("back", "validationnumber", "The 3 or 4 digit number on the back, usually called CVV or CVC", null, true, TextInputStyle.Paragraph, 5, 64)
new TextInputComponent("expiry", "expirydate", "The expiry date of the card", null, true, TextInputStyle.Paragraph, 3, 64)
));
am i havin a smoothbrain moment??
