diff --git a/Gwendolyn.py b/Gwendolyn.py index 8d05f2e..f93622e 100644 --- a/Gwendolyn.py +++ b/Gwendolyn.py @@ -49,6 +49,7 @@ async def blackjackLoop(channel,gameRound): if gameRound == realRound: if gamedone == False: + logThis("Loop "+str(gameRound)+" calling blackjackLoop()") await blackjackLoop(channel,gameRound+1) else: new_message = blackjackFinish(str(channel)) @@ -444,6 +445,7 @@ async def parseCommands(message,content): # Loop of game rounds if gamedone == False: + logThis("!blackjack calling blackjackLoop()") await blackjackLoop(message.channel,1) else: new_message = blackjackFinish(str(message.channel)) @@ -479,6 +481,7 @@ async def parseCommands(message,content): await message.add_reaction("👍") try: if response[6] == "T": + logThis("Hit calling blackjackLoop()") await blackjackLoop(message.channel,int(response[7:])+1) except: logThis("Something fucked up") @@ -495,6 +498,7 @@ async def parseCommands(message,content): await message.add_reaction("👍") try: if response[6] == "T": + logThis("Stand calling blackjackLoop()") await blackjackLoop(message.channel,int(response[7:])+1) except: logThis("Something fucked up") @@ -515,6 +519,7 @@ async def parseCommands(message,content): try: if roundDone[0] == "T": + logThis("Double calling blackjackLoop()") await blackjackLoop(message.channel,int(roundDone[1:])+1) except: logThis("Something fucked up") @@ -528,6 +533,7 @@ async def parseCommands(message,content): #try: if roundDone[0] == "T": + logThis("Split calling blackjackLoop()") await blackjackLoop(message.channel,int(roundDone[1:])+1) #except: # logThis("Something fucked up")