fix/round kdr in leaderboard

This commit is contained in:
SowinskiBraeden committed 2023-09-03 18:01:22 -07:00
1 parent 9435f77a6d
commit d92c7a927b
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -145,7 +145,7 @@ module.exports = {
category == 'worst_deathstreak' ? `${query.worstDeathStreak} Deathstreak` :
category == 'longest_kill' ? `${query.longestKill}m` :
category == 'money' ? `$${(query.user.guilds[GuildDB.serverID].balance).toLocaleString(undefined, {minimumFractionDigits: 2, maximumFractionDigits: 2})}` :
category == 'KDR' ? `${query.KDR} KDR` : 'N/A Error';
category == 'KDR' ? `${query.KDR.toFixed(2)} KDR` : 'N/A Error';
statsEmbed.addFields({ name: 'Leaderboard Position', value: `# ${leaderboardPos}`, inline: true });