Skip to content

Commit

Permalink
Goblin road stats
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixLusseau committed Jul 6, 2024
1 parent 922dbf7 commit add45bd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion commands/ffplayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ async function ffplayer(bot, api, interaction, channel, tag) {
+ `Current path of legends rank: ${player.currentPathOfLegendSeasonResult.rank}\n\n`
+ `Best path of legends league: ${player.bestPathOfLegendSeasonResult.leagueNumber}\n`
+ `Best path of legends trophies: ${player.bestPathOfLegendSeasonResult.trophies}\n`
+ `Best path of legends rank: ${player.bestPathOfLegendSeasonResult.rank}\n`;
+ `Best path of legends rank: ${player.bestPathOfLegendSeasonResult.rank}\n\n`
+ `Goblin-road: \n`
+ `Current Goblin-road trophies: ${player.progress["goblin-road"].trophies}\n`
+ `Current Goblin-road arena: ${player.progress["goblin-road"].arena.name}\n`
+ `Best Goblin-road trophies: ${player.progress["goblin-road"].bestTrophies}\n`;
}

player_data += `\n\n**RoyaleAPI player link :** \nhttps://royaleapi.com/player/` + tag.substring(1);
Expand Down

0 comments on commit add45bd

Please sign in to comment.