12.7.12 fix total balance val
This commit is contained in:
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -301,7 +301,7 @@ module.exports = {
|
||||
balanceEmbed.addFields(
|
||||
{ name: '**Bank**', value: `$${banking.guilds[GuildDB.serverID].account.balance.toFixed(2)}`, inline: true },
|
||||
{ name: '**Cash**', value: `$${banking.guilds[GuildDB.serverID].account.cash.toFixed(2)}`, inline: true },
|
||||
{ name: '**Total**', value: `$${banking.guilds[GuildDB.serverID].account.cash.toFixed(2)+banking.guilds[GuildDB.serverID].account.balance.toFixed(2)}`, inline: true });
|
||||
{ name: '**Total**', value: `$${(banking.guilds[GuildDB.serverID].account.balance + banking.guilds[GuildDB.serverID].account.cash).toFixed(2)}`, inline: true });
|
||||
}
|
||||
|
||||
return interaction.send({ embeds: [balanceEmbed] });
|
||||
|
||||
Reference in new issue
Block a user