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