Ledger reset bug fixed

This commit is contained in:
2023-06-12 11:19:03 +10:00
parent e8c1fbb73b
commit 5dbc250a4a
5 changed files with 3 additions and 1 deletions

View File

@@ -85,7 +85,7 @@ async def bj(interaction: discord.Interaction):
discinput = lambda m: discordInput(interaction, m)
discoutput = lambda m: discordOutput(interaction, m)
await interaction.response.send_message("Let's play Black Jack!")
await blackJack.play_game(interaction.user.id, 100, discinput, discoutput)
await blackJack.play_game(interaction.user.id, interaction.message, discinput, discoutput)
async def discordInput(interaction: discord.Interaction, message:str):
response = HitOrStand()