Версия 1.0
This commit is contained in:
16
BotCode/handlers/__init__.py
Normal file
16
BotCode/handlers/__init__.py
Normal file
@@ -0,0 +1,16 @@
|
||||
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
|
||||
|
||||
router = Router(name=__name__)
|
||||
|
||||
# Include routers with different priorities
|
||||
router.include_routers(
|
||||
cmd_routers,
|
||||
callback_router,
|
||||
post_routers,
|
||||
inline_router
|
||||
)
|
||||
Reference in New Issue
Block a user