include networth in /bank balance

This commit is contained in:
SowinskiBraeden committed 2022-08-04 12:27:09 -07:00
1 parent 42b72895eb
commit a21d54ccc0
1 file changed
+2 -1
+2 -1
View File
@@ -280,7 +280,8 @@ module.exports = {
balanceEmbed.setTitle('Personal Bank Records'); balanceEmbed.setTitle('Personal Bank Records');
balanceEmbed.addFields( balanceEmbed.addFields(
{ name: '**Bank**', value: `$${banking.account.balance.toFixed(2)}`, inline: true }, { 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] }); return interaction.send({ embeds: [balanceEmbed] });