From d7ac9fe18092cf4bf01bc40baed3e2e8b8358f3a Mon Sep 17 00:00:00 2001 From: tema Date: Sun, 19 Feb 2023 00:56:06 +0200 Subject: [PATCH] added microfix --- handlers/private/timetable.py | 2 +- utils/bot_commands.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- 2.45.2