From df3dcc571653825fc94d5c49123d676008548001 Mon Sep 17 00:00:00 2001 From: Pavel_Duron Date: Thu, 3 Nov 2022 16:49:57 +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 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bot.py b/bot.py index 4eb475a..00bce11 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_data = current_datatime.date() - # current_time = current_datatime.time() - # new_year = datetime.date(2022, 12, 31) - await message.reply('Сегодня', current_datatime) #отображение времени, пока не рабоатет current_datatime = datetime.datetime.now() + # current_data = datatime.date() + # current_time = datatime.time() + # new_year = datetime.date(2022, 12, 31) + await message.reply(['Сегодня', current_datatime]) #отображение времени, пока не рабоатет