2.2 Мелкие улучшения и аннотации файлы
This commit is contained in:
@@ -4,12 +4,14 @@
|
||||
from aiogram import Router
|
||||
from .routers import router as all_routers
|
||||
from .inline import router as inline_routers
|
||||
from .easteggs import router as easteggs_router
|
||||
|
||||
# Объявление главного роутера
|
||||
router = Router(name="main_router")
|
||||
|
||||
# Список подключаемых роутеров сверху-вниз
|
||||
router.include_routers(
|
||||
all_routers,
|
||||
inline_routers,
|
||||
)
|
||||
inline_routers,
|
||||
easteggs_router,
|
||||
)
|
||||
router.include_router(all_routers)
|
||||
|
||||
Reference in New Issue
Block a user