update embeds
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m8s
All checks were successful
Deploy App / docker (ubuntu-latest) (push) Successful in 1m8s
This commit is contained in:
parent
1e732e923f
commit
ace88be518
@ -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}`,
|
||||||
|
Loading…
Reference in New Issue
Block a user