2024-08-20 21:29:42 +08:00
|
|
|
from pathlib import Path
|
|
|
|
|
|
|
|
|
|
BASE_PATH = Path() / "zhenxun"
|
|
|
|
|
BASE_PATH.mkdir(parents=True, exist_ok=True)
|
|
|
|
|
|
|
|
|
|
|
2024-08-24 19:32:52 +08:00
|
|
|
CONFIG_URL = "https://cdn.jsdelivr.net/gh/zhenxun-org/zhenxun_bot_plugins/plugins.json"
|
2024-08-20 21:29:42 +08:00
|
|
|
"""插件信息文件"""
|
|
|
|
|
|
2024-08-26 10:39:33 +08:00
|
|
|
CONFIG_INDEX_URL = "https://raw.githubusercontent.com/zhenxun-org/zhenxun_bot_plugins_index/index/plugins.json"
|
|
|
|
|
"""插件索引库信息文件"""
|
|
|
|
|
|
|
|
|
|
CONFIG_INDEX_CDN_URL = "https://cdn.jsdelivr.net/gh/zhenxun-org/zhenxun_bot_plugins_index@index/plugins.json"
|
|
|
|
|
"""插件索引库信息文件cdn"""
|
|
|
|
|
|
2024-08-20 21:29:42 +08:00
|
|
|
DOWNLOAD_URL = (
|
2024-08-24 19:32:52 +08:00
|
|
|
"https://api.github.com/repos/zhenxun-org/zhenxun_bot_plugins/contents/{}?ref=main"
|
2024-08-20 21:29:42 +08:00
|
|
|
)
|
|
|
|
|
"""插件下载地址"""
|