diff --git a/lenaverse_bot/core/config.py b/lenaverse_bot/core/config.py index 2cff0a0..9a17fd5 100644 --- a/lenaverse_bot/core/config.py +++ b/lenaverse_bot/core/config.py @@ -62,6 +62,7 @@ class ClubInfo(BaseModel): channels: list[int] info: InfoCommand + vorstand: InfoCommand linktree: InfoCommand join: FileCommand fest: InfoCommand diff --git a/lenaverse_bot/core/verein.py b/lenaverse_bot/core/verein.py index 0507161..3d948d8 100644 --- a/lenaverse_bot/core/verein.py +++ b/lenaverse_bot/core/verein.py @@ -29,6 +29,23 @@ async def info(interaction: discord.Interaction) -> None: ) +@ev_command( + name=CONFIG.ev_info.vorstand.name, + description=CONFIG.ev_info.vorstand.description, +) +async def vorstand(interaction: discord.Interaction) -> None: + """ + Wer ist im Vereinsvorstand? + """ + + await interaction.response.send_message( + content=CONFIG.ev_info.vorstand.content, + silent=True, + suppress_embeds=True, + ephemeral=reply_private(interaction, CONFIG.ev_info.vorstand.name), + ) + + @ev_command( name=CONFIG.ev_info.linktree.name, description=CONFIG.ev_info.linktree.description, @@ -103,6 +120,7 @@ async def aktion(interaction: discord.Interaction) -> None: COMMANDS = [ info, + vorstand, linktree, join, fest,