Skip to content

Commit 4255e55

Browse files
committed
feat(application_commands): Fixed small syntax problems in docstring
1 parent f301495 commit 4255e55

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

discord/application_commands.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -563,15 +563,15 @@ class SlashCommandOption:
563563
If the :attr:`~SlashCommandOption.option_type` is one of :attr:`~OptionType.integer` or :attr:`~OptionType.number`
564564
this is the minimum value the users input must be of.
565565
max_value: Optional[Union[:class:`int`, :class:`float`]]
566-
If the :attr:`option_type` is one of :class:`~OptionType.integer` or :class:`~OptionType.number`
566+
If the :attr:`option_type` is one of :attr:`~OptionType.integer` or :attr:`~OptionType.number`
567567
this is the maximum value the users input could be of.
568568
min_length: :class:`int`
569-
If the :attr:`option_type` is :class:`~OptionType.string`, this is the minimum length (min. of ``0``)
569+
If the :attr:`option_type` is :attr:`~OptionType.string`, this is the minimum length (min. of ``0``)
570570
max_length: :class:`int`
571-
If the :attr:`option_type` is :class:`~OptionType.string`, this is the maximum length (min. of ``1``)
571+
If the :attr:`option_type` is :attr:`~OptionType.string`, this is the maximum length (min. of ``1``)
572572
channel_types: Optional[List[Union[:class:`abc.GuildChannel`, :class:`ChannelType`, :class:`int`]]]
573573
A list of :class:`ChannelType` or the type itself like ``TextChannel`` or ``StageChannel`` the user could select.
574-
Only valid if :attr:`~SlashCommandOption.option_type` is :class:`OptionType.channel`.
574+
Only valid if :attr:`~SlashCommandOption.option_type` is :attr:`~OptionType.channel`.
575575
default: Optional[Any]
576576
The default value that should be passed to the function if the option is not provided, default ``None``.
577577
Usually used for autocomplete callback.

0 commit comments

Comments
 (0)