From 189f6bc1f0d53bfe107c33c7225f2e37f0530cdb Mon Sep 17 00:00:00 2001 From: admin Date: Fri, 9 Oct 2026 15:13:40 +0200 Subject: [PATCH] fix: show user id in subscription status message --- VERSION | 2 +- bot.py | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index a3b3889..5a4b937 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.0+37 +0.1.0+38 diff --git a/bot.py b/bot.py index 99570e9..9bec5f0 100644 --- a/bot.py +++ b/bot.py @@ -356,6 +356,8 @@ async def _show_subscription_info( if mode == "subscription": text += f"\n\nПродление на 30 дней — {SUBSCRIPTION_PRICE_STARS} ⭐." + if message.from_user is not None: + text += f"\nID пользователя: {message.from_user.id}" markup = subscription_renew_keyboard() else: markup = mode_keyboard(mode)