Compare commits

..

No commits in common. "4a7851c50df52cde078217c0ef074e3741a7f163" and "534c31bbe4ad405856580091935a7dc5393b6b16" have entirely different histories.

2 changed files with 0 additions and 23 deletions

View file

@ -62,7 +62,6 @@ class ClubInfo(BaseModel):
channels: list[int]
info: InfoCommand
vorstand: InfoCommand
linktree: InfoCommand
join: FileCommand
fest: InfoCommand

View file

@ -24,28 +24,10 @@ async def info(interaction: discord.Interaction) -> None:
await interaction.response.send_message(
content=CONFIG.ev_info.info.content,
suppress_embeds=True,
ephemeral=reply_private(interaction, CONFIG.ev_info.info.name),
)
@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,
@ -75,7 +57,6 @@ async def join(interaction: discord.Interaction) -> None:
await interaction.response.send_message(
content=CONFIG.ev_info.join.content,
file=file,
suppress_embeds=True,
ephemeral=reply_private(interaction, CONFIG.ev_info.join.name),
)
@ -97,7 +78,6 @@ async def fest(interaction: discord.Interaction) -> None:
await interaction.response.send_message(
content=CONFIG.ev_info.fest.content,
suppress_embeds=True,
ephemeral=reply_private(interaction, CONFIG.ev_info.fest.name),
)
@ -113,14 +93,12 @@ async def aktion(interaction: discord.Interaction) -> None:
await interaction.response.send_message(
content=CONFIG.ev_info.aktion.content,
suppress_embeds=True,
ephemeral=reply_private(interaction, CONFIG.ev_info.aktion.name),
)
COMMANDS = [
info,
vorstand,
linktree,
join,
fest,