Skip to content

Commit 2696b9c

Browse files
committed
feat(docs) fixed some syntax issues
1 parent 08c71b0 commit 2696b9c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

discord/application_commands.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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.

discord/client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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
-----------

0 commit comments

Comments
 (0)