mirror of
https://github.com/aydenjahola/discord-multipurpose-bot.git
synced 2024-11-21 16:25:55 +00:00
add hours, tracker score and rearange the order
This commit is contained in:
parent
fce106fccf
commit
c5eb5f21c8
1 changed files with 14 additions and 5 deletions
|
@ -47,6 +47,7 @@ module.exports = {
|
|||
const statsEmbed = new EmbedBuilder()
|
||||
.setColor("#0099ff")
|
||||
.setTitle(`${data.username}'s Valorant Stats`)
|
||||
.setDescription(`${data.username}'s **${data.season}** stats`)
|
||||
.addFields(
|
||||
{
|
||||
name: "🏆 Current Rank",
|
||||
|
@ -56,12 +57,20 @@ module.exports = {
|
|||
name: "🔝 Peak Rank",
|
||||
value: data.peak_rank,
|
||||
},
|
||||
{ name: "⚔️ Kills", value: `${data.kills}` },
|
||||
{ name: "🏅 Wins", value: `${data.wins}` },
|
||||
{
|
||||
name: "⏳ Hours Played",
|
||||
value: `${data.hours_played}h`,
|
||||
},
|
||||
{
|
||||
name: "🎮 Matches Played",
|
||||
value: `${data.matches_played}`,
|
||||
},
|
||||
{ name: "🏅 Wins", value: `${data.wins}` },
|
||||
{
|
||||
name: "📊 Win Percentage",
|
||||
value: `${data.win_percentage}%`,
|
||||
},
|
||||
{ name: "⚔️ Kills", value: `${data.kills}` },
|
||||
{
|
||||
name: "📈 K/D Ratio",
|
||||
value: `${data.kd_ratio}`,
|
||||
|
@ -71,13 +80,13 @@ module.exports = {
|
|||
value: `${data.headshot_percentage}%`,
|
||||
},
|
||||
{
|
||||
name: "📊 Win Percentage",
|
||||
value: `${data.win_percentage}%`,
|
||||
name: "💯 Tracker Score",
|
||||
value: `${data.tracker_score}/1000`,
|
||||
}
|
||||
)
|
||||
.setTimestamp()
|
||||
.setFooter({
|
||||
text: "Valorant Stats Bot made by Ayden",
|
||||
text: "Valorant Stats API made by Ayden",
|
||||
iconURL: interaction.guild.iconURL(),
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue