Fixed /config show, added /event show, added stubs for /stage and /guess

This commit is contained in:
2025-04-22 01:16:30 +02:00
parent 08d1ca4d33
commit f2a2c3d85f
5 changed files with 192 additions and 41 deletions

23
cogs/guess.py Normal file
View File

@@ -0,0 +1,23 @@
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))