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.setTitle(`${User.tag}'s Bank Records`);
balanceEmbed.addFields( balanceEmbed.addFields(
{ name: '**Bank**', value: `$${targetUserBanking.guilds[GuildDB.serverID].bankAccount.balance}`, 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}`, 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 { } else {
// Show command authors balance // Show command authors balance
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "dayz-armbands", "name": "dayz-armbands",
"version": "5.11.8", "version": "5.11.9",
"description": "A General Purpose Discord Bot for DayZ Servers.", "description": "A General Purpose Discord Bot for DayZ Servers.",
"main": "index.js", "main": "index.js",
"nodemonConfig": { "nodemonConfig": {