Attachments component #4482
|
I know the attachments option just came out, but, since we got modals, would be nice to have an attachments component — where you can upload your own image and send it to the bot. The way this component could be implemented is exclusivly in modals, otherwise it will cause problems with UX. The component might look like this: |
Replies: 28 comments 15 replies
|
I use modals as a bug report form and being able to directly upload log files, screenshots, or videos to be sent with the modal submission will drastically improve the user experience! |
|
Yeah this idea is great. Maybe bots should also specify a minimum size of the image and the format of the image, because there are some things that require a specific image size. |
|
picture |
|
Upvoting this. I'm working on a interaction based mailbox system which would have a big advantage with such a feature!! 👍 |
|
I’m working on a system where users can turn in Quest rewards. This is exactly what I want for users being able to show proof etc. |
|
I also would like this functionality. The requirement to use a slash command option makes the workflow of the bot awkward in many use cases. My current use case requires an admin workflow where uploading a file as a requirement is unknown until after using components to navigate to an optional state that needs the upload. A modal type works. However a button component of type attachment button that would pop up the file find dialog with an optional extension filter when pressed would work as well. |
|
I've been building a specialized profile bot for a server and having image uploads through a modal would be perfect for it |
|
Please add this. I'd love for my ticket modals to have this feature. |
|
As an interesting addition could have a choice between "file from device storage", "camera image", "screenshot", "canvas", etc. as an attachment |
|
This would be absolutely amazing if it could be supported. In a project I have it would be absolutely a major QoL improvement for uploading screenshots. |
|
Any updates on that? |
|
a file input for modals would be very useful for interactions that require complex/variable construction |
|
upvoting this as well, the ability to add a screenshot/image is crucial for any type of native bug report form within Discord itself. |
|
This would be extremely useful. I'm making a bot that allows users to modify GFX templates with their own images and colors, but right now the users has to provide an image URL, which is an unnecessary hassle. |
|
Please do this. :) |
|
This would be quite helpful. |
|
This would be better for the user-experience because users won't have to provide an URL but can just upload an image. |
|
This could be abused to send excessively large files but could also improve security for the bot as they are no longer sending a request to an arbitrary URL |
|
Any updates on this suggestion? |
|
I need it too! |
|
discord think they aang the way they vanish when we need a feature the most |
|
we're waiting discord. |
|
We still waiting 😞 |
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as spam.
|
Still wating |
|
We've added a file upload component to modals! https://discord.com/developers/docs/change-log#introducing-the-file-upload-component-in-modals |

We've added a file upload component to modals!
https://discord.com/developers/docs/change-log#introducing-the-file-upload-component-in-modals