Инициализация модулей
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
# Пакет старых файлов отключен!!
|
||||
|
||||
from aiogram import Router
|
||||
from .callback_handlers import router as callback_handlers_router
|
||||
from .commands.bot_command import set_commands
|
||||
from .administration import router as admin_head_router
|
||||
from .commands import router as commands_head_router
|
||||
@@ -17,6 +18,7 @@ router = Router(name="main_router")
|
||||
|
||||
# Список подключаемых роутеров сверху-вниз
|
||||
router.include_routers(
|
||||
callback_handlers_router,
|
||||
admin_head_router,
|
||||
commands_head_router,
|
||||
downloads_head_router,
|
||||
|
||||
Reference in New Issue
Block a user