This commit is contained in:
admin
2025-08-10 22:22:38 +07:00
parent 0b3b957c0a
commit 6073b4b3c9
52 changed files with 1981 additions and 810 deletions

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

@@ -0,0 +1,17 @@
from aiogram import Router
from .post import router as post_routers
from .commands import router as cmd_routers
from .callback import router as callback_router
from .inline import router as inline_router
# Настройка экспорта и роутера
__all__ = ("router",)
router: Router = Router(name="handlers_router")
# Подключение роутеров
router.include_routers(
cmd_routers,
callback_router,
post_routers,
inline_router
)