1.1.7 я ебал блять писать комиты
This commit is contained in:
@@ -5,6 +5,7 @@ from aiogram import Router
|
||||
from .routers import router as all_routers
|
||||
from .inline import *
|
||||
from .keyboards import *
|
||||
from .utils import *
|
||||
|
||||
# Объявление главного роутера
|
||||
router = Router(name="main_router")
|
||||
|
||||
11
BotCode/utils/__init__.py
Normal file
11
BotCode/utils/__init__.py
Normal file
@@ -0,0 +1,11 @@
|
||||
# BotCode/routers/utils/__init__.py
|
||||
# Инициализация пакета utils, для работы с механиками
|
||||
|
||||
from aiogram import Router
|
||||
|
||||
# Объявление роутера и настройка экспорта модулей
|
||||
__all__ = ("router",)
|
||||
router = Router(name="utils_head_router")
|
||||
|
||||
# Идет самым последним, если другие роутеры не сработали
|
||||
|
||||
Reference in New Issue
Block a user