Инициализатор модуля

This commit is contained in:
2026-02-23 14:07:32 +07:00
parent a474814b7d
commit 4f5aaba0ce
21 changed files with 377 additions and 0 deletions

16
bot/handlers/__init__.py Normal file
View File

@@ -0,0 +1,16 @@
from aiogram import Router
from .commands import router as cmd_routers
from .messages import router as messages_routers
from .chl_comment import router as channels_routers
# Настройка экспорта и роутера
__all__ = ("router",)
router: Router = Router(name=__name__)
# Подключение роутеров
router.include_routers(
channels_routers,
cmd_routers,
messages_routers,
)