From 31accee7f744d46ad60cc3aa89f69c616417385a Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 17 Apr 2024 17:36:29 +0100 Subject: [PATCH] update mojang status embed --- src/app/(pages)/mojang/page.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/app/(pages)/mojang/page.tsx b/src/app/(pages)/mojang/page.tsx index 25974ed..2216138 100644 --- a/src/app/(pages)/mojang/page.tsx +++ b/src/app/(pages)/mojang/page.tsx @@ -50,13 +50,12 @@ async function getData(): Promise { export async function generateMetadata(): Promise { const { endpoints } = await getData(); - let description = "The current status of Mojang Services"; - description += Object.entries(endpoints) + let description = Object.entries(endpoints) .map(([url, status]) => { - return `**${url}**: ${formatStatus(status)}`; + return `${url}: ${formatStatus(status)}`; }) .join("\n"); - description += `\n\nUpdated: ${formatTime(new Date())}`; + description += `\n\nEmbed Cache: ${formatTime(new Date())}`; return generateEmbed({ title: "Mojang Status",