Allow bots to set more than one image per embed #3253
Unanswered
Andre601
asked this question in
API Feature Requests & Ideas
Replies: 1 comment 1 reply
-
Theres a hacky way to achieve this right now, by setting url to twitter :) {
"embeds": [
{
"url": "https://twitter.com",
"description": "Freddy likes dogs",
"image": {
"url": "https://snworksceo.imgix.net/dtc/10ec0a64-8f9d-46d9-acee-5ef9094d229d.sized-1000x1000.jpg?w=1000"
}
},
{
"url": "https://twitter.com",
"image": {
"url": "https://snworksceo.imgix.net/dtc/10ec0a64-8f9d-46d9-acee-5ef9094d229d.sized-1000x1000.jpg?w=1000"
}
},
{
"url": "https://twitter.com",
"image": {
"url": "https://www.statnews.com/wp-content/uploads/2019/08/AdobeStock_182445295-645x645.jpeg"
}
},
{
"url": "https://twitter.com",
"image": {
"url": "https://boygeniusreport.files.wordpress.com/2016/11/puppy-dog.jpg?quality=98&strip=all&w=782"
}
}
]
} |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think a lot of fellow developers would agree when I say that having an option to have more than a single image in an embed would be a blessing.
Discord already has something like that for specific link-previews. A popular example is Twitter
Here is an example:
From what I remember is the above thing a "hacky" way right now, but I'm sure it could be integrated into default embeds for other sites or bots.
It would be quite awesome if you could utilize this as there are sure situations, where you want to display more than a single image in the embed and the only alternative, is to set up a slide-show where you edit the embed and update it with the new image.
To prevent possible abuse could it perhaps have a set limit (4 images?) or perhaps be a new feature for verified bots?
Beta Was this translation helpful? Give feedback.
All reactions