Okey, I've got two charts images and I want to send them in one embed message: Here's the code I wrote:
charts = [
discord.File("/root/discord.py/chart-render/tempchart.png", filename="tempchart.png"),
discord.File("/root/discord.py/chart-render/ramchart.png", filename="ramchart.png")
]
stats.set_image(url="attachment://tempchart.png")
stats.set_image(url="attachment://ramchart.png")
await ctx.send(embed=stats, files=charts)
the problem is that the one is sending in embed, but the second one doesn't - it's sending over the embed message
How can I solve this problem?
I have linked an image I hope can help you to understand how embeds work a bit better, so essentially embeds can only have 1 image per one and you will need to send two embeds, unfortunately. Also, here is a nice online embed visualizer.
I hope this helped