This commit is contained in:
NikolajDanger
2020-07-30 16:46:50 +02:00
parent 3b3b554549
commit eabba7a059
2 changed files with 3 additions and 3 deletions

View File

@ -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("👍")

View File

@ -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)"