Skip to content

Commit 774ad7c

Browse files
committed
Add versionadded tag
1 parent 6cc03e6 commit 774ad7c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

discord/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1327,6 +1327,8 @@ def basic_autocomplete(
13271327
Predicate callable (sync or async) used to filter the autocomplete options. This function should accept two arguments:
13281328
the :class:`.AutocompleteContext` and an item from ``values``. If ``None`` is provided, a default filter is used that includes items whose string representation starts with the user's input value, case-insensitive.
13291329
1330+
.. versionadded:: 2.7
1331+
13301332
Returns
13311333
-------
13321334
Callable[[:class:`.AutocompleteContext`], Awaitable[Union[Iterable[:class:`.OptionChoice`], Iterable[:class:`str`], Iterable[:class:`int`], Iterable[:class:`float`]]]]

0 commit comments

Comments
 (0)