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([