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:
556556 `autocomplete <https://discord.com/developers/docs/interactions/application-commands#autocomplete>`_
557557 interactions for this option, default ``False``.
558558 With autocomplete, you can check the user's input and send matching choices to the client.
559+
559560 .. note::
560561 Autocomplete can only be used with options of the type :attr:`~OptionType.string`, :attr:`~OptionType.integer` or :attr:`~OptionType.number`.
561562 **If autocomplete is activated, the option cannot have** :attr:`~SlashCommandOption.choices` **.**
563+
562564 min_value: Optional[Union[:class:`int`, :class:`float`]]
563565 If the :attr:`~SlashCommandOption.option_type` is one of :attr:`~OptionType.integer` or :attr:`~OptionType.number`
564566 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:
236236 in the code anymore if :attr:`delete_not_existing_commands` is set to :obj:`True` what it is by default.
237237
238238 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`.
241240
242241 Attributes
243242 -----------
You can’t perform that action at this time.
0 commit comments