diff --git a/handlers/start_help.py b/handlers/start_help.py index 47f1897..c086af9 100644 --- a/handlers/start_help.py +++ b/handlers/start_help.py @@ -15,4 +15,4 @@ async def start_func(message: types.Message): @dp.callback_query_handler(text = 'add_2_group') async def addgroup(callback: types.CallbackQuery): - await callback.answer('жмав') + await callback.answer('жмав') diff --git a/handlers/time_new_year.py b/handlers/time_new_year.py index e878756..5b9bd64 100644 --- a/handlers/time_new_year.py +++ b/handlers/time_new_year.py @@ -22,6 +22,5 @@ async def send_time(message: types.Message): await message.reply(f'Сегодня {cd} \nВремя: {ct2} \nДо Нового Года осталось {num}') - def register_handlers_time(dp: Dispatcher): - dp.register_message_handler(send_time) \ No newline at end of file + dp.register_message_handler(send_time)