1.1.7 я ебал блять писать комиты

This commit is contained in:
Verum
2025-02-26 03:39:50 +07:00
parent fb000890bb
commit 9261f46516
3 changed files with 16 additions and 1 deletions

5
.idea/PRIMOWORLD.iml generated
View File

@@ -4,7 +4,7 @@
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/Documentation" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/BotCode/inline" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/BotCode/keyboards" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/BotCode/keyboards" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/BotCode/keyboards/inline_kb" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/BotCode/keyboards/reply_kb" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/BotLibrary/analytics" isTestSource="false" />
@@ -19,6 +19,8 @@
<sourceFolder url="file://$MODULE_DIR$/Test/commands" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/Test/old_files" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/GUI" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/BotCode/routers" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/BotCode/utils" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/.venv" />
</content>
<orderEntry type="jdk" jdkName="Python 3.13 (PRIMOWORLD)" jdkType="Python SDK" />
@@ -29,6 +31,7 @@
<list>
<option value="$MODULE_DIR$/BotLibrary" />
<option value="$MODULE_DIR$/ProjectsFiles/configs" />
<option value="$MODULE_DIR$/BotCode/servey" />
</list>
</option>
</component>

View File

@@ -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
View File

@@ -0,0 +1,11 @@
# BotCode/routers/utils/__init__.py
# Инициализация пакета utils, для работы с механиками
from aiogram import Router
# Объявление роутера и настройка экспорта модулей
__all__ = ("router",)
router = Router(name="utils_head_router")
# Идет самым последним, если другие роутеры не сработали