From 3548d0558f601946029a1116aabaa406bcdeb630 Mon Sep 17 00:00:00 2001 From: Denis Date: Sat, 19 Jul 2025 16:59:57 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=BE=20=D0=BF=D1=80=D0=B8=D1=81=D0=B2=D0=B0=D0=B8=D0=B2?= =?UTF-8?q?=D0=B0=D0=BD=D0=B8=D0=B5=20@property=20.me=20=D0=B4=D0=BB=D1=8F?= =?UTF-8?q?=20bot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- maxapi/dispatcher.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/maxapi/dispatcher.py b/maxapi/dispatcher.py index b14e1a9..4e2c1aa 100644 --- a/maxapi/dispatcher.py +++ b/maxapi/dispatcher.py @@ -78,6 +78,9 @@ class Dispatcher: """ me = await self.bot.get_me() + + self.bot._me = me + logger_dp.info(f'Бот: @{me.username} first_name={me.first_name} id={me.user_id}') def include_routers(self, *routers: 'Router'):