From c6042b33fdc401f275a2406936c86b3e3fb08d16 Mon Sep 17 00:00:00 2001 From: Pavel_Duron Date: Thu, 3 Nov 2022 16:42:19 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 649ead3..4eb475a 100644 --- a/bot.py +++ b/bot.py @@ -16,11 +16,11 @@ dp = Dispatcher(bot) @dp.message_handler(commands=["time"]) async def send_time(message: types.Message): - current_datatime = datetime.datetime.now() # current_data = current_datatime.date() # current_time = current_datatime.time() # new_year = datetime.date(2022, 12, 31) - await message.reply('Сегодня',current_datatime) #отображение времени, пока не рабоатет + await message.reply('Сегодня', current_datatime) #отображение времени, пока не рабоатет + current_datatime = datetime.datetime.now()