From c2c982d13134539961a762c1b201fc124400261a Mon Sep 17 00:00:00 2001 From: JustaSqu1d <89910983+JustaSqu1d@users.noreply.github.com> Date: Tue, 23 Jul 2024 22:34:44 -0700 Subject: [PATCH] docs: minor `InputText` formatting issues (#2507) --- discord/ui/input_text.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/discord/ui/input_text.py b/discord/ui/input_text.py index 115f9708af..dd7438be21 100644 --- a/discord/ui/input_text.py +++ b/discord/ui/input_text.py @@ -36,7 +36,7 @@ class InputText: The maximum number of characters that can be entered. Must be between 1 and 4000. required: Optional[:class:`bool`] - Whether the input text field is required or not. Defaults to `True`. + Whether the input text field is required or not. Defaults to ``True``. value: Optional[:class:`str`] Pre-fills the input text field with this value. Must be 4000 characters or fewer. @@ -151,7 +151,7 @@ def placeholder(self, value: str | None): @property def min_length(self) -> int | None: - """The minimum number of characters that must be entered. Defaults to `0`.""" + """The minimum number of characters that must be entered. Defaults to 0.""" return self._underlying.min_length @min_length.setter @@ -177,7 +177,7 @@ def max_length(self, value: int | None): @property def required(self) -> bool | None: - """Whether the input text field is required or not. Defaults to `True`.""" + """Whether the input text field is required or not. Defaults to ``True``.""" return self._underlying.required @required.setter