Discord embeds for Mastodon posts are getting a lot better! You should see better images and videos, better formatting, better context styling, and support for embedding a wider variety of posts. This is rolling out now, so you should see it start to take effect in the coming hours. Let me know if you run into any problems!
also yes I had to write an HTML-to-Markdown converter in Rust for this
Update: the new rich Discord embeds are now available for posts on a variety of other ActivityPub services, including Misskey, Pixelfed, and more! Embeds also now indicate when a post is a reply.
If you run an ActivityPub service and your links aren't getting rich embeds on Discord, it's *probably* because you're blocking our requests, but there's a chance you've uncovered a bug! If you think you have (or if you've found a post that gets a rich embed that's malformed in some way), reply here with details and I'll take a look.
with the latest rollout, all known issues with the new discord embeds for mastodon posts are resolved, so if you encounter something that embeds poorly, please tell me about it!
Update: Discord now displays alt text on images in Mastodon embeds!
A Discord issue that caused posts on some Pleroma instances to use legacy embeds has been resolved.

@rcombs hi ^_^ it seems there's a small display bug with how replies from mastodon instances are formatted sometimes. the account to which i am replying is shown as a string of markdown instead of a link.

i think it's because when the display_name field is empty, you are supposed to use the username field instead.

the post is https://deadinsi.de/@miyuko/114313884626966233

miyuko (@[email protected])

@[email protected] set browser.urlbar.showSearchTerms.enabled to false

Serenity Laboratories
@miyuko thanks! the problem is that the username comes back as an empty string (which isn't handled) instead of null (which is). fix implemented; will roll out at some point
@rcombs thanks for looking into this!
@rcombs
omg thank you so much you're my hero

@rcombs I'd been meaning to ask, is this working on mobile for android yet? it seems fine on my desktop client when I just tested it, but on mobile it's not showing up yet

on my gf's iphone, it shows up too!

but on my android phone (pixel 7, latest stable android, latest discord stable) and my friend's (android 14, idk what phone, latest discord stable), it doesn't seem to

@rcombs Is there anything you can do when linking Lemmy comments, such as https://awful.systems/comment/6863929 ? Right now Discord embeds the first post, not the comment that was linked.
Stubsack: weekly thread for sneers not worth an entire post, week ending 6th April 2025 - awful.systems

Need to let loose a primal scream without collecting footnotes first? Have a sneer percolating in your system but not enough time/energy to make a whole post about it? Go forth and be mid: Welcome to the Stubsack, your first port of call for learning fresh Awful you’ll near-instantly regret. Any awful.systems sub may be subsneered in this subthread, techtakes or no. If your sneer seems higher quality than you thought, feel free to cut’n’paste it into its own post — there’s no quota for posting and the bar really isn’t that high. > The post Xitter web has spawned soo many “esoteric” right wing freaks, but there’s no appropriate sneer-space for them. I’m talking redscare-ish, reality challenged “culture critics” who write about everything but understand nothing. I’m talking about reply-guys who make the same 6 tweets about the same 3 subjects. They’re inescapable at this point, yet I don’t see them mocked (as much as they should be) > > Like, there was one dude a while back who insisted that women couldn’t be surgeons because they didn’t believe in the moon or in stars? I think each and every one of these guys is uniquely fucked up and if I can’t escape them, I would love to sneer at them. (Credit and/or blame to David Gerard for starting this. Also, happy April Fool’s in advance.)

@jernej__s that's entirely on their end; the metadata the server sends doesn't include any information on comments whatsoever
@rcombs Here's a regression: it looks like embeds don't show poll choices any more (eg. https://meow.social/@TerrorBite/114346801943008859).
TerrorBite 🦁 (@[email protected])

Which is more terrifying [ ] why do I hear boss music [ ] why do I hear bagpipes

meow.social - the meowstodon instance for creatures fluffy, scaly and otherwise
@rcombs could this also be provided for webhooks? i have a discord bot that does something like this and would like to utilize it (relevant github discussion: https://github.com/discord/discord-api-docs/discussions/3295)
Image embed alt-text support · discord discord-api-docs · Discussion #3295

Description Feature request: add an alt_text? parameter to the Embed Image Structure. Copy the text of this parameter to the HTML img alt attribute of the embedded image. Currently, images included...

GitHub
@Erika protip: set ?with_components=true in your query string, and set 0x8000 in the flags field 👀