#Slash Command Options | Question

1 messages · Page 1 of 1 (latest)

twilit veldtBOT
#

Hey! Once your issue is solved, press the button below to close this thread!

twilit veldtBOT
#

interactions.py provides a simple way of adding autocomplete to your options per command, as seen in this guide.

If you wish to add autocomplete to all options named the same for the entire bot, consider using global_autocomplete:

@interactions.global_autocomplete("name")
async def name_autocomplete(ctx: interactions.AutocompleteContext):
    ...
ember wyvern
#

if you want values that change depending on stuff, use autocomplete, not choices

#

yes that's exactly that, autocomplete

#

please look at the guide page