Autocomplete Command not sending update
Not too sure how to explain it exactly however,
I have a command with multiple Autocomplete options, therefore I have added in a "key" option so they can select what specific key they are wanting.
/config reset key:string value:AutocompleteString
Here is an extract from my code(the portion responsible for AutocompleteInteractions for this specific command):
Here is a gif demonstrating what I am meaning:
https://i.imgur.com/bu90n92.gif
Versions:
[email protected]
[email protected]
3 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!Is there anything I can do to resolve this or is this just a limitation of how Autocomplete Interactions work on discord?
And as you can see from the second gif, if I go through it as a new command, it changes the value and works as intended:
https://i.imgur.com/Sd672cV.gif
Yeah got the same answer in Discord API discord too. That's what I've done, thanks @qjuh !