File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -563,15 +563,15 @@ class SlashCommandOption:
563
563
If the :attr:`~SlashCommandOption.option_type` is one of :attr:`~OptionType.integer` or :attr:`~OptionType.number`
564
564
this is the minimum value the users input must be of.
565
565
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`
567
567
this is the maximum value the users input could be of.
568
568
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``)
570
570
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``)
572
572
channel_types: Optional[List[Union[:class:`abc.GuildChannel`, :class:`ChannelType`, :class:`int`]]]
573
573
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`.
575
575
default: Optional[Any]
576
576
The default value that should be passed to the function if the option is not provided, default ``None``.
577
577
Usually used for autocomplete callback.
You can’t perform that action at this time.
0 commit comments