🃏 Converted full blackjack functionality to slash commands
This commit is contained in:
@ -39,8 +39,7 @@ class BlackjackCog(commands.Cog):
|
||||
# Starts a game of blackjack
|
||||
@cog_ext.cog_subcommand(**params["blackjackStart"])
|
||||
async def blackjackStart(self, ctx):
|
||||
await ctx.defer()
|
||||
await self.bot.games.blackjack.parseBlackjack("", ctx)
|
||||
await self.bot.games.blackjack.start(ctx)
|
||||
|
||||
@cog_ext.cog_subcommand(**params["blackjackBet"])
|
||||
async def blackjackBet(self, ctx, bet):
|
||||
|
Reference in New Issue
Block a user