Skip to content
This repository has been archived by the owner on Jan 10, 2022. It is now read-only.

Commit

Permalink
update bal command
Browse files Browse the repository at this point in the history
  • Loading branch information
matievisthekat committed Jul 3, 2020
1 parent d67c44f commit 3ea19c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/Currency/balance.js
Original file line number Diff line number Diff line change
Expand Up @@ -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]" : ""}`;

Expand Down

0 comments on commit 3ea19c0

Please sign in to comment.