Ledger Works

This commit is contained in:
2022-11-28 18:22:06 +10:00
parent ed65761e88
commit 33e9781914
3 changed files with 44 additions and 76 deletions

View File

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