autocomplete option based on other options
I've double checked the docs and had a look through the dev portal but can't find a definitive yes/no answer on whether or not this is possible: I have a command with two options that use autocomplete. getting the autocomplete choices is not an issue for the first, but I'm curious if it's possible to further filter the second options choices based on the option chosen in the first autocomplete.
I know the user can change the values etc and I can account for all that but just curious if what I want to achieve is even possible
2 Replies
• What's your exact discord.js
npm list discord.js
and node node -v
version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.ohhhh of course. that makes sense now. thats why the getFocused method exists
thank you lol
its all string values, so no concerns about resolved inputs etc