🧹 Cleaning up cogs
This commit is contained in:
@ -170,7 +170,6 @@ class Blackjack():
|
||||
|
||||
return hand, allStanding, preAllStanding
|
||||
|
||||
|
||||
# When players try to hit
|
||||
def blackjackHit(self,channel,user,handNumber = 0):
|
||||
game = self.bot.database["blackjack games"].find_one({"_id":channel})
|
||||
@ -224,7 +223,6 @@ class Blackjack():
|
||||
self.bot.log(user+" tried to hit without being in the game")
|
||||
return "You have to enter the game before you can hit"
|
||||
|
||||
|
||||
# When players try to double down
|
||||
def blackjackDouble(self,channel,user,handNumber = 0):
|
||||
game = self.bot.database["blackjack games"].find_one({"_id":channel})
|
||||
@ -562,7 +560,6 @@ class Blackjack():
|
||||
|
||||
return finalWinnings
|
||||
|
||||
|
||||
def calcWinnings(self,hand, dealerValue, topLevel, dealerBlackjack, dealerBusted):
|
||||
self.bot.log("Calculating winnings")
|
||||
reason = ""
|
||||
@ -703,7 +700,7 @@ class Blackjack():
|
||||
else:
|
||||
self.bot.log("Ending loop on round "+str(gameRound),str(channel.id))
|
||||
|
||||
async def parseBlackjack(self,content, ctx):
|
||||
async def parseBlackjack(self, content, ctx):
|
||||
# Blackjack shuffle variables
|
||||
blackjackMinCards = 50
|
||||
blackjackDecks = 4
|
||||
|
Reference in New Issue
Block a user