update embed again
This commit is contained in:
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",
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user