File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -556,9 +556,11 @@ class SlashCommandOption:
556
556
`autocomplete <https://discord.com/developers/docs/interactions/application-commands#autocomplete>`_
557
557
interactions for this option, default ``False``.
558
558
With autocomplete, you can check the user's input and send matching choices to the client.
559
+
559
560
.. note::
560
561
Autocomplete can only be used with options of the type :attr:`~OptionType.string`, :attr:`~OptionType.integer` or :attr:`~OptionType.number`.
561
562
**If autocomplete is activated, the option cannot have** :attr:`~SlashCommandOption.choices` **.**
563
+
562
564
min_value: Optional[Union[:class:`int`, :class:`float`]]
563
565
If the :attr:`~SlashCommandOption.option_type` is one of :attr:`~OptionType.integer` or :attr:`~OptionType.number`
564
566
this is the minimum value the users input must be of.
Original file line number Diff line number Diff line change @@ -236,8 +236,7 @@ class Client:
236
236
in the code anymore if :attr:`delete_not_existing_commands` is set to :obj:`True` what it is by default.
237
237
238
238
delete_not_existing_commands: :class:`bool`
239
- Whether to remove global and guild-only application-commands that are not in the code anymore, default :obj:`True`
240
- `.
239
+ Whether to remove global and guild-only application-commands that are not in the code anymore, default :obj:`True`.
241
240
242
241
Attributes
243
242
-----------
You can’t perform that action at this time.
0 commit comments