From a96240d561f2ddc5d1b6c8cfd76698ad20e66358 Mon Sep 17 00:00:00 2001 From: Pavel_Duron Date: Thu, 3 Nov 2022 17:12:09 +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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bot.py b/bot.py index 1294335..b95dd7a 100644 --- a/bot.py +++ b/bot.py @@ -17,11 +17,10 @@ dp = Dispatcher(bot) @dp.message_handler(commands=["time"]) async def send_time(message: types.Message): current_datatime = datetime.datetime.now() - outpoot = 'сегодня', current_datatime # current_data = datatime.date() # current_time = datatime.time() # new_year = datetime.date(2022, 12, 31) - await message.reply(outpoot) #отображение времени, пока не рабоатет + await message.reply(f'сегодня, {current_datatime}') #отображение времени, пока не рабоатет