Slash command popout should show option name instead of value #3973
-
Description I registered a slash command with an integer argument with the following options: "choices": [
{ "name": "first", "value": 1 },
{ "name": "second", "value": 2 },
{ "name": "third", "value": 3 },
], if I run a command and select one of those options, then copy paste the command text from the popup and try to re-run the command, it prompts me to select an option again instead of filling in the value. Steps to Reproduce
Expected Behavior The option is correctly filled out. Current Behavior The option is filled out with the number value instead of the string name and the user is prompted to pick the option again. Screenshots/Videos Client and System Information Stable 96355 (c244e32) Google Chrome 92.0.4515.159 Windows 10 64-Bit |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Why was this moved to a discussion? |
Beta Was this translation helpful? Give feedback.
-
I'd agree showing the name in the popout is much nicer. For the user, as has been mentioned, they can copy the command to run it again if they need to, or in the case of a non-ephemeral response, other users can learn how a command was used in a particular way. |
Beta Was this translation helpful? Give feedback.
-
The name in the popout will now show on Desktop Canary. iOS is coming, Android will be delayed a bit |
Beta Was this translation helpful? Give feedback.
The name in the popout will now show on Desktop Canary. iOS is coming, Android will be delayed a bit