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(
|
balanceEmbed.addFields(
|
||||||
{ name: '**Bank**', value: `$${banking.guilds[GuildDB.serverID].account.balance.toFixed(2)}`, inline: true },
|
{ 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: '**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] });
|
return interaction.send({ embeds: [balanceEmbed] });
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@ require('dotenv').config();
|
|||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
Dev: "PROD.",
|
Dev: "PROD.",
|
||||||
Version: "12.7.11",
|
Version: "12.7.12",
|
||||||
Admins: ["362791661274660874", "329371697570381824"], // Admins of the bot
|
Admins: ["362791661274660874", "329371697570381824"], // Admins of the bot
|
||||||
DefaultPrefix: "?",
|
DefaultPrefix: "?",
|
||||||
ServerID: "955668596745461830",
|
ServerID: "955668596745461830",
|
||||||
|
|||||||
Reference in new issue
Block a user