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

No files matched your search

+1 -1
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("👍")
+2 -2
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)"