Blackjack is done :)

This commit is contained in:
2023-07-25 12:55:48 +10:00
parent 464c23b502
commit ba808a5bf6
4 changed files with 46 additions and 19 deletions

View File

@@ -85,8 +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(discinput, discoutput)
# await blackJack.play_game(interaction.user.id, 100, discinput, discoutput)
await blackJack.play_game(interaction.user.id, 100, discinput, discoutput)
async def discordInput(interaction: discord.Interaction, message:str):
response = HitOrStand()
@@ -107,7 +106,6 @@ async def bal(interaction: discord.Interaction):
"""
#### Calculator ####
"""
@tree.command(description="Do Meth")
async def calculator(interaction: discord.Interaction):
await interaction.response.defer()