🐛
This commit is contained in:
10
Gwendolyn.py
10
Gwendolyn.py
@ -497,7 +497,15 @@ async def parseCommands(message,content):
|
||||
|
||||
# Standing
|
||||
elif content.startswith("blackjack stand"):
|
||||
response = blackjackStand(str(message.channel),message.author.display_name,0)
|
||||
if content == "blackjack hit" or content == "blackjack hit ":
|
||||
response = blackjackStand(str(message.channel),message.author.display_name)
|
||||
else:
|
||||
commands = content.split(" ")
|
||||
try:
|
||||
handNumber = int(commands[2])
|
||||
except:
|
||||
handNumber = 0
|
||||
response = blackjackstand(str(message.channel),message.author.display_name,handNumber)
|
||||
|
||||
if response.startswith("accept"):
|
||||
await message.add_reaction("👍")
|
||||
|
Reference in New Issue
Block a user