Инициализация модулей

This commit is contained in:
Whyverum
2024-12-18 12:16:23 +07:00
parent 3637c1d0fd
commit 3c350c3246
7 changed files with 63 additions and 10 deletions

View File

@@ -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,