Resending image in embed doesn't work on production, but works on dev
Hello, I have an function, that will resend any picture from a channel to another but in embed
Workflow is Channel A gets a message with picture -> picture gets broken down to a base64 stream -> saved to a sequelize database as a Sequelize.TEXT data type-> Loaded using fs to create the image into local directory -> Loaded using attachmentBuilder and then used in setImage() -> Then Bot sends that embed into a channel B
This all works on my computer when testing, but when deployed on production env, the images are broken and not working as it seems as seen in picture
Workflow is Channel A gets a message with picture -> picture gets broken down to a base64 stream -> saved to a sequelize database as a Sequelize.TEXT data type-> Loaded using fs to create the image into local directory -> Loaded using attachmentBuilder and then used in setImage() -> Then Bot sends that embed into a channel B
This all works on my computer when testing, but when deployed on production env, the images are broken and not working as it seems as seen in picture



