-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Description
For only some select Discord users, our bot is consistently getting name and not value for selected auto-complete params for all of our slash commands. This seems like a new issue we've not seen with our bot before (first noticed by us Feb 18th). Majority of our users don't seem to be affected, but those who are affected are experiencing the issue on all Discord clients they tried using (Chrome, Mac app, etc). We're suspecting some experimental Discord feature/version having been pushed to a fraction of the user base only?
Our issue sounds a bit like #4467, but we don't think that a tailing whitespace is needed to reproduce.
Have to add that this is a pretty gross issue for us to have to work around, and it's making our own app look buggy and unreliable 😢 would appreciate a swift response for this one.
Steps to Reproduce
- Add a slash command to your bot with auto-complete params.
- Invoke the command and serve some results to the client (eg.
interaction.respond([ { "name": "Design Guild", "value": "WDQ3NbpugZ" }, { "name": "Writters Guild", "value":"8fmtsruwrM" }, { "name": "Legal Guild", "value": "VgZGmx71NE" } ])) - Have the user select any of the provided options
- Observe in bot that the selected option resolves as the
nameof the option and notvalue
Expected Behavior
Slash commands with auto-complete yield the value of the option instead name
Current Behavior
name is returned instead of value
Screenshots/Videos
No response
Client and System Information
discord.js@npm:13.3.1 for bot implementation. Latest Chrome and Mac Discord apps on the client side.
One of our own team members was experiencing this issue consistently with all of their Discord clients, and we could provide their discordId via a DM if that helps.