From 195c98ddd216d9ccb2ffe1aab827cda9be7b020e Mon Sep 17 00:00:00 2001 From: snowyServer Date: Mon, 8 Apr 2024 10:04:31 +0800 Subject: [PATCH] fix: liteyuki_api.py -> ly_api.py --- liteyuki/utils/{liteyuki_api.py => ly_api.py} | 0 liteyuki/utils/message.py | 2 +- main.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename liteyuki/utils/{liteyuki_api.py => ly_api.py} (100%) diff --git a/liteyuki/utils/liteyuki_api.py b/liteyuki/utils/ly_api.py similarity index 100% rename from liteyuki/utils/liteyuki_api.py rename to liteyuki/utils/ly_api.py diff --git a/liteyuki/utils/message.py b/liteyuki/utils/message.py index 10ed40b..cb88b72 100644 --- a/liteyuki/utils/message.py +++ b/liteyuki/utils/message.py @@ -12,7 +12,7 @@ from nonebot.adapters.onebot import v11, v12 from typing import Any from . import load_from_yaml -from .liteyuki_api import liteyuki_api +from .ly_api import liteyuki_api from .ly_typing import T_Bot, T_MessageEvent require("nonebot_plugin_htmlrender") diff --git a/main.py b/main.py index a4cddbd..7bbaf86 100644 --- a/main.py +++ b/main.py @@ -4,7 +4,7 @@ from nonebot.adapters.onebot import v11, v12 from liteyuki.utils import init from liteyuki.utils.config import load_from_yaml from liteyuki.utils.data_manager import StoredConfig, common_db -from liteyuki.utils.liteyuki_api import liteyuki_api +from liteyuki.utils.ly_api import liteyuki_api init()