Skip to content
This repository was archived by the owner on Mar 8, 2022. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/source/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -746,5 +746,5 @@ You can set set the generator for the autocompletion with a decorator

# set the generator
@my_command.options[0].autocomplete_function # you could also use my_command.options["name"]
async def my_generator(ctx: AutocompletInteraction):
return [...]
async def my_generator(ctx: AutocompleteInteraction):
return [...]