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
@@ -95,7 +95,7 @@ module.exports = {
let description = `**You collected**`;
for (let i = 0; i < roles.length; i++) {
description += `\n<@&${roles[i]}> - $**${income[i].toFixed(2)}**`
description += `\n<@&${roles[i]}> - $**${income[i].toFixed(2).toLocaleString(undefined, {minimumFractionDigits: 2, maximumFractionDigits: 2})}**`
}
const success = new EmbedBuilder()