Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discord Embed not rendering #10161

Closed
sympherjim opened this issue May 10, 2024 · 3 comments
Closed

Discord Embed not rendering #10161

sympherjim opened this issue May 10, 2024 · 3 comments
Labels
question Support questions, usage questions, unconfirmed bugs, discussions, ideas

Comments

@sympherjim
Copy link

Are you experiencing an issue with...

shields.io

馃悶 Description

I created an embed object and added a static shield badge like this and sent this via a webhook url

{
  "title": "Embed Test",
  "color":  "11194456",
  "image":  {
    "url": "https://img.shields.io/badge/any%20text-you%20like-blue"
  }
}

I'm getting this
image

instead of
image
from https://message.style/app/editor

馃敆 Link to the badge

https://img.shields.io/badge/any%20text-you%20like-blue

馃挕 Possible Solution

No response

@sympherjim sympherjim added the question Support questions, usage questions, unconfirmed bugs, discussions, ideas label May 10, 2024
@sympherjim sympherjim changed the title Discord Embed Discord Embed not rendering May 10, 2024
Copy link
Contributor

Badge tested using npm run badge https://img.shields.io/badge/any%20text-you%20like-blue
Output is available here

@calebcartwright
Copy link
Member

I don't think Discord will render any svgs, embed or otherwise. We do offer raster versions of our badges too, which do work in Discord (with all the usual drawbacks of raster images relative to svgs)

https://raster.shields.io/badge/any%20text-you%20like-blue

@calebcartwright
Copy link
Member

Going to close, please feel free to follow up if necessary

@calebcartwright calebcartwright closed this as not planned Won't fix, can't repro, duplicate, stale May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Support questions, usage questions, unconfirmed bugs, discussions, ideas
Projects
None yet
Development

No branches or pull requests

2 participants