From 1f1e47c912b94955e6e0309bdfacf281810b280b Mon Sep 17 00:00:00 2001 From: Pavel_Duron Date: Thu, 3 Nov 2022 00:42:49 +1000 Subject: [PATCH] =?UTF-8?q?=D0=B2=D1=8B=D0=B2=D0=BE=D0=B4=20=D0=B2=D1=80?= =?UTF-8?q?=D0=B5=D0=BC=D0=B5=D0=BD=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index b48a287..7040682 100644 --- a/bot.py +++ b/bot.py @@ -14,11 +14,11 @@ logging.basicConfig(level=logging.DEBUG) bot = Bot(token=API_TOKEN) dp = Dispatcher(bot) -current_time = datetime.now() @dp.message_handler(commands=time) async def send_time(message: types.Message): await message.reply(print(current_time)) #отображение времени, пока не рабоатет + current_time = datetime.now() """"async def set_default_commands(dp): await dp.bot.set_my_commands([