From edc322cb3cb80ee49413e0776f45001c28aff464 Mon Sep 17 00:00:00 2001 From: Raiden Shogun <96011415+Almighty-Shogun@users.noreply.github.com> Date: Tue, 22 Feb 2022 18:43:07 +0100 Subject: [PATCH] Fixed typo at line 39 On this code example for the documentation there was a typo on the README.md file at line 39. There was an `;` where there should not be one. The code that had the typo: ```cs var tb = new TextInputBuilder() .WithLabel("Labeled") .WithCustomId("text_input") .WithStyle(TextInputStyle.Paragraph) .WithMinLength(6); // This ";" does not belong here. .WithMaxLength(42) .WithRequired(true) .WithPlaceholder("Consider this place held."); ``` --- .../guides/int_basics/message-components/text-input.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/guides/int_basics/message-components/text-input.md b/docs/guides/int_basics/message-components/text-input.md index 37f5b4937..92679ae41 100644 --- a/docs/guides/int_basics/message-components/text-input.md +++ b/docs/guides/int_basics/message-components/text-input.md @@ -35,11 +35,11 @@ and min/max length of the input: var tb = new TextInputBuilder() .WithLabel("Labeled") .WithCustomId("text_input") - .WithStyle(TextInputStyle.Paragraph) - .WithMinLength(6); - .WithMaxLength(42) - .WithRequired(true) - .WithPlaceholder("Consider this place held."); + .WithStyle(TextInputStyle.Paragraph) + .WithMinLength(6) + .WithMaxLength(42) + .WithRequired(true) + .WithPlaceholder("Consider this place held."); ``` ![more advanced text input](images/image9.png)