update/Prettify money values

This commit is contained in:
SowinskiBraeden committed 2023-09-03 19:05:45 -07:00
1 parent d92c7a927b
commit 26bf295765
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -155,7 +155,7 @@ module.exports = {
receivedBounty = new EmbedBuilder()
.setColor(client.config.Colors.Default)
.setDescription(`<@${killerStat.discordID}> received **$${totalBounty.toFixed(2)}** in bounty rewards.`);
.setDescription(`<@${killerStat.discordID}> received **$${totalBounty.toFixed(2).toLocaleString(undefined, {minimumFractionDigits: 2, maximumFractionDigits: 2})}** in bounty rewards.`);
victimStat.bounties = []; // clear bounties after claimed
}