Fixed keyboard and added man page
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
4
main.py
4
main.py
@ -3,7 +3,7 @@ import logging
|
||||
from vkwave.bots import SimpleLongPollBot, PhotoUploader
|
||||
|
||||
from blueprints import (
|
||||
menu_router, test_router, student_router, teacher_router,
|
||||
menu_router, test_router, student_router, teacher_router, man_router,
|
||||
)
|
||||
from config import Config
|
||||
from middlewares import UserMiddleware
|
||||
@ -21,10 +21,10 @@ Config().uploader = uploader
|
||||
bot.middleware_manager.add_middleware(UserMiddleware())
|
||||
bot.middleware_manager.add_middleware(TestStateMiddleware())
|
||||
|
||||
|
||||
bot.dispatcher.add_router(test_router)
|
||||
bot.dispatcher.add_router(student_router)
|
||||
bot.dispatcher.add_router(teacher_router)
|
||||
bot.dispatcher.add_router(man_router)
|
||||
|
||||
# регаем последним чтобы сначала проверялись все остальные команды
|
||||
bot.dispatcher.add_router(menu_router)
|
||||
|
Reference in New Issue
Block a user