replace-bot/handlers/private/timetable.py
2023-02-19 00:51:52 +02:00

11 lines
285 B
Python

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()
await bot.send_message(message.chat.id, "q", reply_markup=markup)