include networth in /bank balance
This commit is contained in:
1 file changed
+2
-1
+2
-1
@@ -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] });
|
||||||
|
|||||||
Reference in new issue
Block a user