From 19f52d8575b7b21be1d08cb7efc185f64479699d Mon Sep 17 00:00:00 2001 From: Liam Date: Fri, 19 Apr 2024 20:05:55 +0100 Subject: [PATCH] fix status page embed --- src/app/(pages)/mojang/status/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/(pages)/mojang/status/page.tsx b/src/app/(pages)/mojang/status/page.tsx index 23d2428..96a356d 100644 --- a/src/app/(pages)/mojang/status/page.tsx +++ b/src/app/(pages)/mojang/status/page.tsx @@ -65,7 +65,7 @@ export async function generateMetadata(): Promise { for (const endpoint of endpoints) { const { name, hostname, status } = endpoint; - description += `${name} (${hostname}): ${status}\n`; + description += `${name}: ${capitalizeFirstLetter(status.toLowerCase())}\n`; } return generateEmbed({