From 6789d23c2850db22b22148bb7102612804516acc Mon Sep 17 00:00:00 2001 From: mihalin Date: Wed, 3 Aug 2022 00:02:32 +0300 Subject: [PATCH] #ID more useful tag in user info --- server/custom.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/custom.py b/server/custom.py index 8ae69e8..d17aed6 100644 --- a/server/custom.py +++ b/server/custom.py @@ -77,7 +77,7 @@ async def send_user_message(message: types.Message, super_chat_id: int, bot): user_info += message.from_user.full_name if message.from_user.username: user_info += " | @" + message.from_user.username - user_info += f" | #{message.from_user.id}" + user_info += f" | #ID{message.from_user.id}" # Добавлять информацию в конец текста if message.content_type == types.ContentType.TEXT and len(message.text) + len(user_info) < 4093: # noqa:E721