Skip to content

Commit 8e3bd92

Browse files
Update astrbot/core/utils/astrbot_path.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 9e4fec8 commit 8e3bd92

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

astrbot/core/utils/astrbot_path.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def get_astrbot_path() -> str:
2828
def get_astrbot_root() -> str:
2929
"""获取Astrbot根目录路径 --> get_astrbot_data_path"""
3030
warnings.warn(
31-
"不要再使用本函数!实际上就是获取data目录!等效于: AstrbotPaths.getPaths('any!').root",
31+
"不要再使用本函数!等效于: AstrbotPaths.astrbot_root",
3232
DeprecationWarning,
3333
stacklevel=2,
3434
)

0 commit comments

Comments
 (0)