Allow specifying channel type(s) for slash command options #3406
-
Currently, when a Slash Command option is set to CHANNEL (Type 7), it will display every channel of every type in the UI when the command is called, so including Text & News Channels, Voice & Stage Channels, and Categories. If a command only works on specific channel types, this creates a hassle for both the user and the developer: the user has more options to scroll through which may get slightly confusing and overwhelming, especially at a large channel count, and the developer has to add extra code checks to make sure the type of channel is correct and works with the command. Categories especially are very rarely used as parameters for these kinds of commands. The ideal solution would be to allow developers to specify the type(s) of channels that appear as options and get displayed in the UI. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Marking this as answered as #3825 has implemented this |
Beta Was this translation helpful? Give feedback.
Marking this as answered as #3825 has implemented this