diff --git a/handlers/private/timetable.py b/handlers/private/timetable.py index 1343d07..a733cc0 100644 --- a/handlers/private/timetable.py +++ b/handlers/private/timetable.py @@ -7,4 +7,4 @@ from keyboards.inline.timetable import timetable @dp.message_handler(commands='timetable') async def get_table(message: types.Message): markup = timetable() - await bot.send_message(message.chat.id, "q", reply_markup=markup) + await bot.send_message(message.chat.id, "Выберите свою группу", reply_markup=markup) diff --git a/utils/bot_commands.py b/utils/bot_commands.py index ded322b..1276662 100644 --- a/utils/bot_commands.py +++ b/utils/bot_commands.py @@ -6,5 +6,6 @@ async def set_commands(dp): types.BotCommand("start", "получить список замен"), types.BotCommand("help", "информация"), types.BotCommand("link", "получить ссылку на файл"), + types.BotCommand('timetable', "Розклад"), types.BotCommand("reload", "только для администрации"), ]) \ No newline at end of file