update embeds
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m8s

This commit is contained in:
Lee 2024-04-17 17:23:03 +01:00
parent 1e732e923f
commit ace88be518
2 changed files with 2 additions and 7 deletions

@ -21,9 +21,7 @@ export async function generateMetadata({ params: { id } }: Params): Promise<Meta
const { username, uniqueId, skin } = player; const { username, uniqueId, skin } = player;
const headPartUrl = skin.parts.head; const headPartUrl = skin.parts.head;
const description = ` const description = `UUID: ${uniqueId}\n\nClick to view more information about the player.`;
Username: ${username}
UUID: ${uniqueId}`;
return generateEmbed({ return generateEmbed({
title: `${username}`, title: `${username}`,

@ -62,10 +62,7 @@ export async function generateMetadata({ params: { platform, hostname } }: Param
const favicon = server ? getFavicon(platform, server) : undefined; const favicon = server ? getFavicon(platform, server) : undefined;
const description = ` const description = `Hostname: ${serverHostname}\n${players.online}/${players.max} players online\n\nClick to view more information about the player.`;
${capitalizeFirstLetter(platform)} Server
Hostname: ${serverHostname}
${players.online}/${players.max} players online`;
return generateEmbed({ return generateEmbed({
title: `${serverHostname}`, title: `${serverHostname}`,