From efcb4a40c365ca0f0aadd206e3d26aefb80761a8 Mon Sep 17 00:00:00 2001 From: Felix Karg Date: Fri, 23 Jun 2023 15:45:14 +0000 Subject: [PATCH] put in channel_msg which ticket the message is sent about --- src/tickets.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tickets.py b/src/tickets.py index 2a1a853..5835a43 100644 --- a/src/tickets.py +++ b/src/tickets.py @@ -397,7 +397,8 @@ def message(update: Update, context: CallbackContext) -> None: group_msg(update, context, ticket.group_requesting, message) channel_msg( f"🟣 Nachricht von {context.user_data['group_association']} an " - f"{ticket.group_requesting}: {' '.join(context.args[1:])}" + f"{ticket.group_requesting} zu #{ticket.uid}: " + f"{' '.join(context.args[1:])}" ) update.message.reply_text( "Nachricht verschickt.",