From eabba7a059444a5e7cbeee1c8fc5e75492887e8d Mon Sep 17 00:00:00 2001 From: NikolajDanger Date: Thu, 30 Jul 2020 16:46:50 +0200 Subject: [PATCH] :bug: --- Gwendolyn.py | 2 +- funcs/games/blackjack.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gwendolyn.py b/Gwendolyn.py index 7898941..d466c77 100644 --- a/Gwendolyn.py +++ b/Gwendolyn.py @@ -505,7 +505,7 @@ async def parseCommands(message,content): handNumber = int(commands[2]) except: handNumber = 0 - response = blackjackstand(str(message.channel),message.author.display_name,handNumber) + response = blackjackStand(str(message.channel),message.author.display_name,handNumber) if response.startswith("accept"): await message.add_reaction("👍") diff --git a/funcs/games/blackjack.py b/funcs/games/blackjack.py index b1bef96..f2ef522 100644 --- a/funcs/games/blackjack.py +++ b/funcs/games/blackjack.py @@ -575,8 +575,8 @@ def blackjackFinish(channel): winnings += math.floor(2.5 * data["blackjack games"][channel]["user hands"][user]["other hand"]["bet"]) elif data["blackjack games"][channel]["dealer blackjack"]: reason += "(dealer blackjack)" - elif data["blackjack games"][channel]["user hands"][user]["busted"]: - reason = "(busted)" + elif data["blackjack games"][channel]["user hands"][user]["other hand"]["busted"]: + reason += "(busted)" else: if data["blackjack games"][channel]["dealer busted"]: reason += "(dealer busted)"