from discord import Cog, slash_command, option, ApplicationContext from classes.pycord_bot import PycordBot class Guess(Cog): """Cog with the guessing command.""" def __init__(self, bot: PycordBot): self.bot: PycordBot = bot # TODO Implement the command @slash_command( name="guess", description="Propose an answer to the current event stage", ) @option("answer", description="An answer to the current stage") async def command_guess(self, ctx: ApplicationContext, answer: str) -> None: await ctx.respond("Not implemented.") def setup(bot: PycordBot) -> None: bot.add_cog(Guess(bot))