file_types
array for application command options
#5525
Unanswered
IllagerCaptain
asked this question in
API Feature Requests & Ideas
Replies: 1 comment
-
Or "image/*" 😉 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Currently, we have
channel_types
array to limit the types of channels allowed by aCHANNEL
option, however, I may want to limit the allowed file types for anATTACHMENT
option type. So I am proposingfile_types
field which would be an array of file extensions allowed for anATTACHMENT
option. An example of an option that allows images only would be the following:Beta Was this translation helpful? Give feedback.
All reactions