Skip to content

Commit

Permalink
put in channel_msg which ticket the message is sent about
Browse files Browse the repository at this point in the history
  • Loading branch information
fkarg committed Jun 23, 2023
1 parent 8893aed commit efcb4a4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tickets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.",
Expand Down

0 comments on commit efcb4a4

Please sign in to comment.