use user provided hostname as title
Some checks failed
Deploy App / docker (ubuntu-latest) (push) Has been cancelled
Some checks failed
Deploy App / docker (ubuntu-latest) (push) Has been cancelled
This commit is contained in:
parent
6d3663ccb9
commit
6e61fa4aa4
@ -71,7 +71,7 @@ export async function generateMetadata({ params: { platform, hostname } }: Param
|
|||||||
const description = `Hostname: ${serverHostname}\n${players.online}/${players.max} players online\n\nClick to view more information about the player.`;
|
const description = `Hostname: ${serverHostname}\n${players.online}/${players.max} players online\n\nClick to view more information about the player.`;
|
||||||
|
|
||||||
return generateEmbed({
|
return generateEmbed({
|
||||||
title: `${serverHostname}`,
|
title: `${hostname}`,
|
||||||
description: description,
|
description: description,
|
||||||
image: favicon,
|
image: favicon,
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user