coollsd commited on
Commit
93c8f32
·
verified ·
1 Parent(s): 0ea5e95

Update sportbet.py

Browse files
Files changed (1) hide show
  1. sportbet.py +2 -2
sportbet.py CHANGED
@@ -193,7 +193,7 @@ async def show_current_bets(interaction: discord.Interaction):
193
  bet_index = int(cancel_select.values[0])
194
  cancelled_bet = user_bets[user_id].pop(bet_index)
195
  user_cash[user_id] += cancelled_bet['amount']
196
- await interaction.response.send_message(f"Bet cancelled. ${cancelled_bet['amount']} has been refunded to your balance.")
197
 
198
  cancel_select.callback = cancel_callback
199
 
@@ -204,6 +204,6 @@ async def sportbet(interaction: discord.Interaction):
204
  user_id = interaction.user.id
205
  if user_id in user_bets and user_bets[user_id]:
206
  view = SportBetView()
207
- await interaction.response.send_message("What would you like to do?", view=view)
208
  else:
209
  await show_game_selection(interaction)
 
193
  bet_index = int(cancel_select.values[0])
194
  cancelled_bet = user_bets[user_id].pop(bet_index)
195
  user_cash[user_id] += cancelled_bet['amount']
196
+ await interaction.response.send_message(f"Bet cancelled. ${cancelled_bet['amount']} has been refunded")
197
 
198
  cancel_select.callback = cancel_callback
199
 
 
204
  user_id = interaction.user.id
205
  if user_id in user_bets and user_bets[user_id]:
206
  view = SportBetView()
207
+ await interaction.response.send_message("?", view=view)
208
  else:
209
  await show_game_selection(interaction)