#Prevent Autocomplete from Caching Already Requested Inputs

3 messages · Page 1 of 1 (latest)

bleak sapphire
#

Is there a way to prevent discord from caching autocomplete results? I have /command choice-a:foo, choice-b:bar where choice-b is a list of auto-completing options dependent on choice a. So if a user accidentally starts typing in choice b first, then goes back and changes choice-a, they won't get any fresh autocomplete results for their current result or for any of the backspaces. They have to have an unseen string or restart the command input to see fresh results.

mild rainBOT
#

• 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.

bleak sapphire
#

Got an answer to this question. Sadly, caching can't be prevented. See: