代码优化

This commit is contained in:
Natalie Johnson
2024-08-22 19:10:47 +08:00
parent 2fe825f67d
commit 7c163142c4
9 changed files with 61 additions and 27 deletions
@@ -0,0 +1,15 @@
from pathlib import Path
BASE_PATH = Path() / "zhenxun"
BASE_PATH.mkdir(parents=True, exist_ok=True)
CONFIG_URL = (
"https://cdn.jsdelivr.net/gh/HibiKier/zhenxun_bot_plugins/plugins.json"
)
"""插件信息文件"""
DOWNLOAD_URL = (
"https://api.github.com/repos/HibiKier/zhenxun_bot_plugins/contents/{}?ref=main"
)
"""插件下载地址"""