Discord Changes to Autofill - Invalid Entry Since Recent Discord Client Update
Hello. In the latest discord update, I've gotten reports from clients that they are unable to use one of my bots atm due to autocomplete saying that the input is invalid.
This is for a lookup command which populates suggested entries. If the entry doesn't appear in the suggestion, thats ok, its a suggestion anyway.
According to the documentation. https://discordjs.guide/slash-commands/autocomplete.html#responding-to-autocomplete-interactions "Unlike static choices, autocompletion suggestions are not enforced, and users may still enter free text." This has not been a problem prior to this client patch. Something is now preventing the client from inputting values IF the autocomplete doesn't show any results. This is a problem because I'm now tasked with disabling autocomplete as a work around having to remove a feature from the bot due to some clientside change that I can't see any note about in the documentation or discord patch changes.
According to the documentation. https://discordjs.guide/slash-commands/autocomplete.html#responding-to-autocomplete-interactions "Unlike static choices, autocompletion suggestions are not enforced, and users may still enter free text." This has not been a problem prior to this client patch. Something is now preventing the client from inputting values IF the autocomplete doesn't show any results. This is a problem because I'm now tasked with disabling autocomplete as a work around having to remove a feature from the bot due to some clientside change that I can't see any note about in the documentation or discord patch changes.
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
4 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!
- ✅
Marked as resolved by staffI'm using necord and discord.js 14.9.0
This is nothing djs can do about, better to ask in ddevs. Also, best to update djs
But i dont notice anything changed about autocomplete
Ta.
you'll only notice the change if you update your discord client.
and the autocomplete suggestion must be invalid to the input you're putting in
I'll take it up with ddevs
https://discord.com/channels/613425648685547541/1299198318978797601
Looks like somoene else has discovered this issue too.
Thanks for the help @werewolvinny 👻🌈
https://github.com/discord/discord-api-docs/issues/7231
Can confirm the discord hotfix has resolved this issue. Close ticket.