From 719e52d74ec9678f47d079f9f8862c1d8e9312b1 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 2 Dec 2023 23:52:23 +0000 Subject: [PATCH] style(pre-commit): auto fixes from pre-commit.com hooks --- discord/commands/options.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/commands/options.py b/discord/commands/options.py index a5f8eb67c7..e3a0dd44c8 100644 --- a/discord/commands/options.py +++ b/discord/commands/options.py @@ -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::