-
https://www.reddit.com/r/discordapp/comments/raz4kl/finally_a_way_to_display_multiple_images_in_an/ How is something like that possible in discord.py? I already tried to use the advice from the reddit guy and have this code:
But that just sends multiple embeds with one picture each. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hello, as the Reddit posts states, all of your embeds must have the same URL property set in addition to the image URL: With discord.py you can pass the embed = discord.Embed(url='https://lostluma.dev').set_image(url='https://files.lostluma.dev/9X75qL.gif') The URL is not visible in the embed unless you also pass the |
Beta Was this translation helpful? Give feedback.
Hello, as the Reddit posts states, all of your embeds must have the same URL property set in addition to the image URL:
The key here is to use the same URL for all of the 4 embeds! I used my bot's website as the URL for the "url" property.
With discord.py you can pass the
url
keyword parameter to theEmbed
constructor to achieve this effect:The URL is not visible in the embed unless you also pass the
title
parameter, so you can use any dummy URL you'd like to.