"join" -> "beitreten"

This commit is contained in:
Jörn-Michael Miehe 2023-11-21 17:37:48 +01:00
parent 4a7851c50d
commit 7c4dc07273
2 changed files with 8 additions and 8 deletions

View file

@ -64,7 +64,7 @@ class ClubInfo(BaseModel):
info: InfoCommand info: InfoCommand
vorstand: InfoCommand vorstand: InfoCommand
linktree: InfoCommand linktree: InfoCommand
join: FileCommand beitreten: FileCommand
fest: InfoCommand fest: InfoCommand
aktion: InfoCommand aktion: InfoCommand

View file

@ -63,20 +63,20 @@ async def linktree(interaction: discord.Interaction) -> None:
@ev_command( @ev_command(
name=CONFIG.ev_info.join.name, name=CONFIG.ev_info.beitreten.name,
description=CONFIG.ev_info.join.description, description=CONFIG.ev_info.beitreten.description,
) )
async def join(interaction: discord.Interaction) -> None: async def beitreten(interaction: discord.Interaction) -> None:
""" """
Wie und warum dem Verein beitreten Wie und warum dem Verein beitreten
""" """
if (file := await CONFIG.ev_info.join.as_discord_file) is not None: if (file := await CONFIG.ev_info.beitreten.as_discord_file) is not None:
await interaction.response.send_message( await interaction.response.send_message(
content=CONFIG.ev_info.join.content, content=CONFIG.ev_info.beitreten.content,
file=file, file=file,
suppress_embeds=True, suppress_embeds=True,
ephemeral=reply_private(interaction, CONFIG.ev_info.join.name), ephemeral=reply_private(interaction, CONFIG.ev_info.beitreten.name),
) )
else: else:
@ -122,7 +122,7 @@ COMMANDS = [
info, info,
vorstand, vorstand,
linktree, linktree,
join, beitreten,
fest, fest,
aktion, aktion,
] ]