From 8e3bd92c09400ce220bcd1e4a750a26a3c9d93fa Mon Sep 17 00:00:00 2001 From: LIghtJUNction Date: Mon, 3 Nov 2025 03:14:37 +0800 Subject: [PATCH] Update astrbot/core/utils/astrbot_path.py Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- astrbot/core/utils/astrbot_path.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astrbot/core/utils/astrbot_path.py b/astrbot/core/utils/astrbot_path.py index 8301438c..bd707ffa 100644 --- a/astrbot/core/utils/astrbot_path.py +++ b/astrbot/core/utils/astrbot_path.py @@ -28,7 +28,7 @@ def get_astrbot_path() -> str: def get_astrbot_root() -> str: """获取Astrbot根目录路径 --> get_astrbot_data_path""" warnings.warn( - "不要再使用本函数!实际上就是获取data目录!等效于: AstrbotPaths.getPaths('any!').root", + "不要再使用本函数!等效于: AstrbotPaths.astrbot_root", DeprecationWarning, stacklevel=2, )