Compare commits

...

2 Commits

Author SHA1 Message Date
508d961174 and again
All checks were successful
deploy / deploy (push) Successful in 54s
2023-10-23 07:12:32 +01:00
0cb5ff5610 update embed again 2023-10-23 07:12:18 +01:00

@ -18,18 +18,16 @@ 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(),
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",
},
],
},