This commit is contained in:
NikolajDanger
2020-07-29 22:24:28 +02:00
parent 021ee43114
commit de45a7364a
2 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,7 @@ async def blackjackLoop(channel,gameRound):
new_message, allStanding, gamedone = blackjackContinue(str(channel)) new_message, allStanding, gamedone = blackjackContinue(str(channel))
if new_message != "": if new_message != "":
logThis(new_message)
await channel.send(new_message) await channel.send(new_message)
if gamedone == False: if gamedone == False:
await oldImage.delete() await oldImage.delete()

View File

@ -121,6 +121,7 @@ def blackjackContinue(channel):
message = "All players are standing. The dealer now shows his cards and draws." message = "All players are standing. The dealer now shows his cards and draws."
if data["blackjack games"][channel]["all standing"]: if data["blackjack games"][channel]["all standing"]:
logThis("All are standing")
with open("resources/games/games.json", "w") as f: with open("resources/games/games.json", "w") as f:
json.dump(data,f,indent=4) json.dump(data,f,indent=4)