v1.2.1
This commit is contained in:
13
bot/handlers/post/__init__.py
Normal file
13
bot/handlers/post/__init__.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from aiogram import Router
|
||||
from .create_posts import router as posts_router
|
||||
from .post_list import router as post_list_router
|
||||
|
||||
# Настройки экспорта и роутера
|
||||
__all__ = ("router", )
|
||||
router: Router = Router(name="post_router")
|
||||
|
||||
# Подключение роутеров
|
||||
router.include_routers(
|
||||
post_list_router,
|
||||
posts_router,
|
||||
)
|
||||
Reference in New Issue
Block a user