added ping admin role on new ticket

This commit is contained in:
Soenke committed 2026-10-23 15:55:17 +02:00
1 parent bbd87f524d
commit 3163fcb184
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -13,6 +13,7 @@ TICKET_CLAIMED_CATEGORY_ID=
TICKET_CLOSED_CATEGORY_ID=
TICKET_ADMIN_ROLE_IDS=
TICKET_ADMIN_PING_ROLE_ID=
CREATE_MEETUP_CHANNEL_ID=
DE_MEETUP_CHANNEL_ID=
+1 -1
View File
@@ -230,7 +230,7 @@ async def CreateTicketChannel(interaction: discord.Interaction, chosen_language,
embed=embed,
)
UserText = f"Hallo {interaction.user.mention}, wir kümmern uns in Kürze um Sie.\nIn der Zwischenzeit können Sie Ihr Problem näher beschreiben." if chosen_language == "de" else f"Hello, {interaction.user.mention}. We will be with you shortly.\nIn the meantime, you can provide a more detailed description of your issue."
UserText = f"Hallo {interaction.user.mention}, wir kümmern uns in Kürze um Sie.\nIn der Zwischenzeit können Sie Ihr Problem näher beschreiben.\n<@&{os.getenv("TICKET_ADMIN_PING_ROLE_ID")}>" if chosen_language == "de" else f"Hello, {interaction.user.mention}. We will be with you shortly.\nIn the meantime, you can provide a more detailed description of your issue.\n<@&{os.getenv("TICKET_ADMIN_PING_ROLE_ID")}>"
await ticket_channel.send(UserText)