From 34d9c56489939d657f18e3cf4799f3296551dd6c Mon Sep 17 00:00:00 2001 From: Nikolaj Danger Date: Thu, 6 Aug 2020 14:16:27 +0200 Subject: [PATCH] :bug: --- cogs/GamesCog.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cogs/GamesCog.py b/cogs/GamesCog.py index c0b651c..1692dea 100644 --- a/cogs/GamesCog.py +++ b/cogs/GamesCog.py @@ -180,7 +180,7 @@ class GamesCog(commands.Cog): await ctx.send(response) # Doubling bet - elif content.startswith("blackjack double"): + elif content.startswith("double"): commands = content.split(" ") try: handNumber = int(commands[1]) @@ -200,7 +200,7 @@ class GamesCog(commands.Cog): logThis("Something fucked up (error code 1320)",str(channel)) # Splitting hand - elif content.startswith("blackjack split"): + elif content.startswith("split"): commands = content.split(" ") try: handNumber = int(commands[1]) @@ -220,7 +220,7 @@ class GamesCog(commands.Cog): logThis("Something fucked up (error code 1320)") # Returning current hi-lo value - elif content.startswith("blackjack hilo") and "#"+str(ctx.message.author.id) == "#266269899859427329": + elif content.startswith("hilo") and "#"+str(ctx.message.author.id) == "#266269899859427329": if os.path.exists("resources/games/blackjackCards/"+str(channel)+".txt"): with open("resources/games/hilo/"+str(channel)+".txt", "r") as f: data = f.read() @@ -229,14 +229,14 @@ class GamesCog(commands.Cog): await ctx.send(data) # Shuffles the blackjack deck - elif content.startswith("blackjack shuffle"): + elif content.startswith("shuffle"): blackjackShuffle(blackjackDecks,str(channel)) logThis("Shuffling the blackjack deck...",str(channel)) await ctx.send("Shuffling the deck...") # Tells you the amount of cards left - elif content.startswith("blackjack cards"): + elif content.startswith("cards"): cardsLeft = 0 if os.path.exists("resources/games/blackjackCards/"+str(channel)+".txt"): with open("resources/games/blackjackCards/"+str(channel)+".txt","r") as f: