Skip to content

Commit

Permalink
style(pre-commit): auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Dec 2, 2023
1 parent d961d1a commit 719e52d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discord/commands/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class Option:
Only applies to Options with an :attr:`input_type` of :class:`str`.
autocomplete: Callable[[:class:`.AutocompleteContext`], Awaitable[Union[Iterable[:class:`.OptionChoice`], Iterable[:class:`str`], Iterable[:class:`int`], Iterable[:class:`float`]]]]
The autocomplete handler for the option. Accepts a a callable (sync or async)
that takes a single argument of :class:`AutocompleteContext`
that takes a single argument of :class:`AutocompleteContext`
:func:`discord.utils.basic_autocomplete` may be used to create the callable.
.. note::
Expand Down

0 comments on commit 719e52d

Please sign in to comment.