From 7499813d26665d49fe6e2fe23243af6aa78327c6 Mon Sep 17 00:00:00 2001 From: CallMeVerity Date: Thu, 4 Jun 2026 23:13:09 +0100 Subject: [PATCH] Add theme-color and simplify embed description --- backend/src/embeds.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/src/embeds.ts b/backend/src/embeds.ts index 7d03d5f..feb84cb 100644 --- a/backend/src/embeds.ts +++ b/backend/src/embeds.ts @@ -34,7 +34,7 @@ function ogTitle(video: VideoEntry): string { function ogDescription(video: VideoEntry): string { const parts: string[] = [formatRunTime(video.runTime)]; if (video.tier != null) parts.push(`Tier ${video.tier}`); - return `${video.playerName} on ${mapDisplayName(video.mapName)} · ${parts.join(" · ")}`; + return parts.join(" · "); } function buildOgsHtml(video: VideoEntry): string { @@ -54,7 +54,8 @@ function buildOgsHtml(video: VideoEntry): string { ` \n` + ` \n` + ` \n` + - ` `; + ` \n` + + ` `; if (thumbnailUrl) { tags +=