Spaces:
Building
Building
Update sportbet.py
Browse files- 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("
|
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}")
|