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_typesarray to limit the types of channels allowed by aCHANNELoption, however, I may want to limit the allowed file types for anATTACHMENToption type. So I am proposingfile_typesfield which would be an array of file extensions allowed for anATTACHMENToption. An example of an option that allows images only would be the following:Beta Was this translation helpful? Give feedback.
All reactions