v1.2.1
This commit is contained in:
17
bot/handlers/__init__.py
Normal file
17
bot/handlers/__init__.py
Normal 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
|
||||
)
|
||||
Reference in New Issue
Block a user