You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a slash command with an autocomplete option, if a user starts typing and selects an option, but then switches channels or creates a new channel before sending the command, the selected autocomplete value becomes invalid. Instead of sending the expected value to the bot, the command sends the name of the option instead of the value, causing the command to fail.
Steps to Reproduce
Begin typing a slash command that includes autocomplete options.
Select one of the provided autocomplete values.
Switch to a different channel or create a new channel.
Return to the original channel and attempt to send the command.
Expected Behavior
Although the selected autocomplete value appears to remain selected after switching channels or creating a new one, the command sends the name rather than its actual value, causing the command to break.
Current Behavior
The autocomplete value stays selected however instead of sending the value to the bot it sends the name of the option instead, which breaks the command.
Screenshots/Videos
The attached video shows what happens when:
Channel is switched
Command is ran normally
Channel is created
9FuwwtbXfS.mp4
Client and System Information
stable 334959 (b559238)
Windows 10 64-bit (10.0.19045)
The text was updated successfully, but these errors were encountered:
as far as i am aware, autocomplete is not meant to act like choices and specifically allows non-matches to be sent as-is
i know some bots that use this as a "suggest common reasons, but allow custom reasons as well", for example
Description
When using a slash command with an autocomplete option, if a user starts typing and selects an option, but then switches channels or creates a new channel before sending the command, the selected autocomplete value becomes invalid. Instead of sending the expected value to the bot, the command sends the
name
of the option instead of the value, causing the command to fail.Steps to Reproduce
Expected Behavior
Although the selected autocomplete value appears to remain selected after switching channels or creating a new one, the command sends the
name
rather than its actual value, causing the command to break.Current Behavior
The autocomplete value stays selected however instead of sending the value to the bot it sends the name of the option instead, which breaks the command.
Screenshots/Videos
The attached video shows what happens when:
9FuwwtbXfS.mp4
Client and System Information
stable 334959 (b559238)
Windows 10 64-bit (10.0.19045)
The text was updated successfully, but these errors were encountered: