ppy / osu-web

the browser-facing portion of osu!
https://osu.ppy.sh
GNU Affero General Public License v3.0
988 stars 387 forks source link

Improve quality of discord score embeds from official links #11678

Open peppy opened 2 days ago

peppy commented 2 days ago

Giving this a bit of attention would mean that a lot of people could stop using third party bots to achieve the same results.

Discussed in https://github.com/ppy/osu/discussions/30685

Originally posted by **RadioactivePeaches** November 16, 2024 I share my scores with friends on discord frequently, and I usually just take a screenshot of the end screen and sometimes I use the share replay feature on lazer. But when I share the actual replay link my friends have to actually click the link to see any details. It would be great if instead of a description of osu, score details are in the embed instead. This way people you share to can see the basic information of the play such as 100s, misses, score, acc, etc and then if they want to download and watch the actual replay they can click the link. Or the embed could contain an image similar to how you screenshot the end screen or just the contents of the page itself, since its minimal anyway. ![image](https://github.com/user-attachments/assets/6e3a9d64-64be-4dea-8dfe-0008d84755d2) This is what it looks like right now, but it would be cool if it looked something like what a lot of osu! bots provide instead: ![image](https://github.com/user-attachments/assets/c30385b3-467d-48d4-ab93-5c1bdcab50ed)
notbakaneko commented 2 days ago

I thought we had an opengraph provider for this already but I guess not 🤔