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 headPartUrl = skin.parts.head;
const description = `
Username: ${username}
UUID: ${uniqueId}`;
const description = `UUID: ${uniqueId}\n\nClick to view more information about the player.`;
return generateEmbed({
title: `${username}`,

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