diff --git a/src/commands/Currency/balance.js b/src/commands/Currency/balance.js index 90e6737..5c49821 100644 --- a/src/commands/Currency/balance.js +++ b/src/commands/Currency/balance.js @@ -23,10 +23,10 @@ module.exports = class Balance extends Command { if (!target) return msg.client.errors.invalidTarget(msg, msg.channel); let content = `**Wallet:** ${( - target.currency.wallet || 0 + target.currency.wallet ?? 0 ).toLocaleString()}`; if (target.id === msg.author.id) - content += `\n**Bank:** ${(target.currency.bank || 0).toLocaleString()}/${ + content += `\n**Bank:** ${(target.currency.bank ?? 0).toLocaleString()}/${ target.currency.bankLimit || 200 } ${target.currency.bank === target.currency.bankLimit ? "[FULL]" : ""}`;