From 3163fcb18499a31c95e5690c045221bddeb2f8c2 Mon Sep 17 00:00:00 2001 From: Soenke Date: Fri, 23 Oct 2026 15:55:17 +0200 Subject: [PATCH] added ping admin role on new ticket --- .env.example | 1 + extensions/ticket.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.env.example b/.env.example index 6940d2f..c4f4070 100644 --- a/.env.example +++ b/.env.example @@ -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= diff --git a/extensions/ticket.py b/extensions/ticket.py index 076cd73..eb2fe07 100644 --- a/extensions/ticket.py +++ b/extensions/ticket.py @@ -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)