mirror of
https://github.com/aydenjahola/discord-multipurpose-bot.git
synced 2024-11-22 00:35:56 +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()
|
const statsEmbed = new EmbedBuilder()
|
||||||
.setColor("#0099ff")
|
.setColor("#0099ff")
|
||||||
.setTitle(`${data.username}'s Valorant Stats`)
|
.setTitle(`${data.username}'s Valorant Stats`)
|
||||||
|
.setDescription(`${data.username}'s **${data.season}** stats`)
|
||||||
.addFields(
|
.addFields(
|
||||||
{
|
{
|
||||||
name: "🏆 Current Rank",
|
name: "🏆 Current Rank",
|
||||||
|
@ -56,12 +57,20 @@ module.exports = {
|
||||||
name: "🔝 Peak Rank",
|
name: "🔝 Peak Rank",
|
||||||
value: data.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",
|
name: "🎮 Matches Played",
|
||||||
value: `${data.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",
|
name: "📈 K/D Ratio",
|
||||||
value: `${data.kd_ratio}`,
|
value: `${data.kd_ratio}`,
|
||||||
|
@ -71,13 +80,13 @@ module.exports = {
|
||||||
value: `${data.headshot_percentage}%`,
|
value: `${data.headshot_percentage}%`,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "📊 Win Percentage",
|
name: "💯 Tracker Score",
|
||||||
value: `${data.win_percentage}%`,
|
value: `${data.tracker_score}/1000`,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
.setTimestamp()
|
.setTimestamp()
|
||||||
.setFooter({
|
.setFooter({
|
||||||
text: "Valorant Stats Bot made by Ayden",
|
text: "Valorant Stats API made by Ayden",
|
||||||
iconURL: interaction.guild.iconURL(),
|
iconURL: interaction.guild.iconURL(),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue