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
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
조아오
조아오3y ago
I mean, this is not djs at all
Helix
HelixOP3y ago
probably a better question for stackoverflow when I think about it.
조아오
조아오3y ago
But, can't you serialize thr image as base64? Or just send an multi-part request? Maybe #resources or <#869652447881207858> may help you
Want results from more Discord servers?
Add your server