From a21d54ccc01ed3143421fa51ef08f75212d82e25 Mon Sep 17 00:00:00 2001 From: Braeden Sowinski Date: Thu, 4 Aug 2022 12:27:09 -0700 Subject: [PATCH] include networth in /bank balance --- commands/bank.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/bank.js b/commands/bank.js index ca51c81..dc7657f 100644 --- a/commands/bank.js +++ b/commands/bank.js @@ -280,7 +280,8 @@ module.exports = { balanceEmbed.setTitle('Personal Bank Records'); balanceEmbed.addFields( { name: '**Bank**', value: `$${banking.account.balance.toFixed(2)}`, inline: true }, - { name: '**Cash**', value: `$${banking.account.cash.toFixed(2)}`, inline: true }); + { name: '**Cash**', value: `$${banking.account.cash.toFixed(2)}`, inline: true }, + { name: '**Total**', value: `$${banking.account.cash.toFixed(2)+banking.account.balance.toFixed(2)}`, inline: true }); } return interaction.send({ embeds: [balanceEmbed] });