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