Sending files from vue front end to custom discord bot through express backend.
I'm wondering what the best process to doing this is. Currently I have a vue frontend component which lets me custom build a message, this could include attaching images and/or other files up to a maximum amount of MB. I have to send these to my backend which handles sending messages to my discord bot. My question is how should I go by doing this? Should I temporary upload the files using multer to my s3 bucket (My backend will be containerized; I'm using s3 to host my static assets), and then grab them from the bucket and send them through a message to discord?
4 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
I mean, this is not djs at all
probably a better question for stackoverflow when I think about it.
But, can't you serialize thr image as base64? Or just send an multi-part request?
Maybe #resources or <#869652447881207858> may help you