Ability to provide own input besides choices in command options. #3313
-
Description As of now if Slash commands have options with choices, a user can only input one of the choices into the option of the command and not anything of their own. My request is to make some way so that besides the choices, people will be able to give their own input in an option.Why This is Needed For example I make an embed command that has an option color. For beginners I can put some of the commonly used colors as choices in the option, but for more experienced users who want their own color in the embed, they'll be able to input their own color hex code into that. There can be more use cases for this.(I just took a basic example)Alternatives Considered I haven't considered any alternative yet (didn't find any actually)Additional Details Probably like some new parameter like allow-other-input which is a Boolean so that if set to False then user is forced to only choose one of the choices but if set to true then people can choose one of the choices or can give their own input! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
I think this would be solved by auto-complete suggestions as a broader feature of slash commands. The application could stream in suggested queries, such as youtube searches or your example of color choices, which would allow a lot of use-cases to be covered in one feature. But, I do agree that there should be a way to make choices optional and allow users to set other values as well. |
Beta Was this translation helpful? Give feedback.
-
I like the idea but like I cannot auto-complete hex codes, can I? (Just for the example, there might be other cases as well which I haven't come up with yet) |
Beta Was this translation helpful? Give feedback.
-
@UltimateSppy765 no, but you could auto-complete every other color of course, making an option with choices much less necessary. of course, as a(n unwieldy) workaround for now, you could make the parameter optional, and send an ephemeral response listing the possible options |
Beta Was this translation helpful? Give feedback.
I think this would be solved by auto-complete suggestions as a broader feature of slash commands. The application could stream in suggested queries, such as youtube searches or your example of color choices, which would allow a lot of use-cases to be covered in one feature.
But, I do agree that there should be a way to make choices optional and allow users to set other values as well.