типо да
This commit is contained in:
15
bot/handlers/__init__.py
Normal file
15
bot/handlers/__init__.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from aiogram import Router
|
||||
#from .commands import router as cmd_routers
|
||||
from .messages import router as messages_routers
|
||||
from .secret import router as secret_routers
|
||||
|
||||
# Настройка экспорта и роутера
|
||||
__all__ = ("router",)
|
||||
router: Router = Router(name=__name__)
|
||||
|
||||
# Подключение роутеров
|
||||
router.include_routers(
|
||||
#cmd_routers,
|
||||
secret_routers,
|
||||
messages_routers,
|
||||
)
|
||||
Reference in New Issue
Block a user