replace-bot/handlers/private/timetable.py

11 lines
322 B
Python
Raw Normal View History

2023-02-19 01:51:52 +03:00
from aiogram import types
from load import dp, bot
from keyboards.inline.timetable import timetable
@dp.message_handler(commands='timetable')
async def get_table(message: types.Message):
markup = timetable()
2023-02-19 01:56:06 +03:00
await bot.send_message(message.chat.id, "Выберите свою группу", reply_markup=markup)