Converted hangman to use buttons

This commit is contained in:
NikolajDanger
2021-08-19 15:37:02 +02:00
parent 98988efa4b
commit b8a2f6022e
7 changed files with 297 additions and 241 deletions

View File

@ -105,11 +105,6 @@ class ConnectFourCog(commands.Cog):
"""Start a game of connect four against Gwendolyn."""
await self.bot.games.connect_four.start(ctx, difficulty)
@cog_ext.cog_subcommand(**params["connect_four_surrender"])
async def connect_four_surrender(self, ctx):
"""Surrender the game of connect four."""
await self.bot.games.connect_four.surrender(ctx)
class HangmanCog(commands.Cog):
"""Contains all the hangman commands."""