Skip to content

Commit

Permalink
Fix blackjack all
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMonDon committed Aug 3, 2024
1 parent 4862543 commit 99592d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/Economy/blackjack.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class BlackJack extends Command {
let bet;

if (Arguments === 'all') {
bet = cash;
bet = parseInt(cash);
} else {
bet = parseInt(Arguments.replace(/[^0-9]/g, ''));
if (isNaN(bet)) return this.client.util.errorEmbed(msg, 'Bet amount must be a number', 'Invalid Bet');
Expand Down

0 comments on commit 99592d6

Please sign in to comment.