better bank command feedback

This commit is contained in:
SowinskiBraeden committed 2023-03-31 20:33:10 -07:00
1 parent d7c473dd80
commit a51c3fd648
2 files changed
+4 -3

No files matched your search

+3 -2
View File
@@ -240,8 +240,9 @@ module.exports = {
balanceEmbed.setTitle(`${User.tag}'s Bank Records`);
balanceEmbed.addFields(
{ name: '**Bank**', value: `$${targetUserBanking.guilds[GuildDB.serverID].bankAccount.balance}`, inline: true },
{ name: '**Cash**', value: `$${targetUserBanking.guilds[GuildDB.serverID].bankAccount.cash}`, inline: true });
{ name: '**Bank**', value: `$${targetUserBanking.guilds[GuildDB.serverID].bankAccount.balance.toFixed(2).toLocaleString()}`, inline: true },
{ name: '**Cash**', value: `$${targetUserBanking.guilds[GuildDB.serverID].bankAccount.cash.toFixed(2).toLocaleString()}`, inline: true },
{ name: '**Total**', value: `$${(targetUserBanking.guilds[GuildDB.serverID].bankAccount.balance + targetUserBanking.guilds[GuildDB.serverID].bankAccount.cash).toFixed(2).toLocaleString()}`, inline: true });
} else {
// Show command authors balance