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