Skip to content

Commit

Permalink
docs: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Lulalaby committed Aug 21, 2024
1 parent a9f623c commit 347ea9d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public async Task SendModalAsync(InteractionContext ctx)
DiscordInteractionModalBuilder builder = new DiscordInteractionModalBuilder();
builder.WithCustomId("modal_test");
builder.WithTitle("Modal Test");
builder.AddTextComponent(new DiscordTextComponent(TextComponentStyle.Paragraph, label: "Some input", required: false)));
builder.AddTextComponent(new DiscordTextComponent(TextComponentStyle.Paragraph, label: "Some input", required: false));

await ctx.CreateModalResponseAsync(builder);
var res = await ctx.Client.GetInteractivity().WaitForModalAsync(builder.CustomId, TimeSpan.FromMinutes(1));
Expand Down

0 comments on commit 347ea9d

Please sign in to comment.