update embed again

This commit is contained in:
Lee 2023-10-23 07:12:18 +01:00
parent 050d91dede
commit 0cb5ff5610

@ -18,18 +18,17 @@ export async function generateMetadata({
return {
title: `${player.name}`,
description: `
View ${player.name}'s scores, top plays, and more.

Rank: #${player.rank} (#${player.countryRank} - ${player.country})

PP: ${player.pp}

Play Count: ${player.scoreStats.totalPlayCount}

`
.replaceAll("\n", "")
.trim(),
category: "article",
description:
`View ${player.name}'s scores, top plays, and more.
` +
`Rank: #${player.rank} (#${player.countryRank} - ${player.country})
` +
`PP: ${player.pp}
` +
`Play Count: ${player.scoreStats.totalPlayCount}`,
twitter: {
images: [
{
url: player.profilePicture,
type: "article",
},
],
},