Replies: 1 comment
-
I create a public simple bot on github to test it ... AutoCompleteBot ... But proposition window stay empty .... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm working with slashed command, and I want to add autocomplete on arguments.
I created class named "AutoCompleteHandlerGeneral" derived from "AutocompleteHandler", and add an override on "GenerateSuggestionsAsync function".
I create a slashed command with argument like that "[Discord.Commands.Summary("nom_du_paramètre"), Autocomplete(typeof(AutoCompleteHandlerGeneral))]"
I add to the interaction handler this 2 functions :
During execution, autocomplete window is opening in discord, but stay empty and display "Loading options failed".
The 2 functions are called, but the execute commandasync seems to be call ... nothing ...
Please help ! Thanks a lot
Beta Was this translation helpful? Give feedback.
All reactions