coollsd commited on
Commit
a4b65fd
·
verified ·
1 Parent(s): 650d132

Update sportbet.py

Browse files
Files changed (1) hide show
  1. sportbet.py +1 -1
sportbet.py CHANGED
@@ -46,7 +46,7 @@ class BetModal(discord.ui.Modal, title="Place Your Bet"):
46
  if bet_amount <= 0:
47
  raise ValueError("Bet more than 0 dollars")
48
  if bet_amount > user_cash.get(self.user_id, 0):
49
- raise ValueError("Insufficient funds")
50
 
51
  user_cash[self.user_id] -= bet_amount
52
  await interaction.response.send_message(f"Bet placed on {self.team} for ${bet_amount}")
 
46
  if bet_amount <= 0:
47
  raise ValueError("Bet more than 0 dollars")
48
  if bet_amount > user_cash.get(self.user_id, 0):
49
+ raise ValueError("you are too poor check ur balance and try again")
50
 
51
  user_cash[self.user_id] -= bet_amount
52
  await interaction.response.send_message(f"Bet placed on {self.team} for ${bet_amount}")