Compare commits
2 commits
534c31bbe4
...
4a7851c50d
Author | SHA1 | Date | |
---|---|---|---|
4a7851c50d | |||
8c73e401ed |
2 changed files with 23 additions and 0 deletions
|
@ -62,6 +62,7 @@ class ClubInfo(BaseModel):
|
||||||
channels: list[int]
|
channels: list[int]
|
||||||
|
|
||||||
info: InfoCommand
|
info: InfoCommand
|
||||||
|
vorstand: InfoCommand
|
||||||
linktree: InfoCommand
|
linktree: InfoCommand
|
||||||
join: FileCommand
|
join: FileCommand
|
||||||
fest: InfoCommand
|
fest: InfoCommand
|
||||||
|
|
|
@ -24,10 +24,28 @@ async def info(interaction: discord.Interaction) -> None:
|
||||||
|
|
||||||
await interaction.response.send_message(
|
await interaction.response.send_message(
|
||||||
content=CONFIG.ev_info.info.content,
|
content=CONFIG.ev_info.info.content,
|
||||||
|
suppress_embeds=True,
|
||||||
ephemeral=reply_private(interaction, CONFIG.ev_info.info.name),
|
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(
|
@ev_command(
|
||||||
name=CONFIG.ev_info.linktree.name,
|
name=CONFIG.ev_info.linktree.name,
|
||||||
description=CONFIG.ev_info.linktree.description,
|
description=CONFIG.ev_info.linktree.description,
|
||||||
|
@ -57,6 +75,7 @@ async def join(interaction: discord.Interaction) -> None:
|
||||||
await interaction.response.send_message(
|
await interaction.response.send_message(
|
||||||
content=CONFIG.ev_info.join.content,
|
content=CONFIG.ev_info.join.content,
|
||||||
file=file,
|
file=file,
|
||||||
|
suppress_embeds=True,
|
||||||
ephemeral=reply_private(interaction, CONFIG.ev_info.join.name),
|
ephemeral=reply_private(interaction, CONFIG.ev_info.join.name),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -78,6 +97,7 @@ async def fest(interaction: discord.Interaction) -> None:
|
||||||
|
|
||||||
await interaction.response.send_message(
|
await interaction.response.send_message(
|
||||||
content=CONFIG.ev_info.fest.content,
|
content=CONFIG.ev_info.fest.content,
|
||||||
|
suppress_embeds=True,
|
||||||
ephemeral=reply_private(interaction, CONFIG.ev_info.fest.name),
|
ephemeral=reply_private(interaction, CONFIG.ev_info.fest.name),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -93,12 +113,14 @@ async def aktion(interaction: discord.Interaction) -> None:
|
||||||
|
|
||||||
await interaction.response.send_message(
|
await interaction.response.send_message(
|
||||||
content=CONFIG.ev_info.aktion.content,
|
content=CONFIG.ev_info.aktion.content,
|
||||||
|
suppress_embeds=True,
|
||||||
ephemeral=reply_private(interaction, CONFIG.ev_info.aktion.name),
|
ephemeral=reply_private(interaction, CONFIG.ev_info.aktion.name),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
COMMANDS = [
|
COMMANDS = [
|
||||||
info,
|
info,
|
||||||
|
vorstand,
|
||||||
linktree,
|
linktree,
|
||||||
join,
|
join,
|
||||||
fest,
|
fest,
|
||||||
|
|
Loading…
Reference in a new issue