replace-bot/handlers/private/timetable.py

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