mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
Update config.py
This commit is contained in:
parent
b10b806b76
commit
c089395597
@ -4,12 +4,10 @@ BASE_PATH = Path() / "zhenxun"
|
|||||||
BASE_PATH.mkdir(parents=True, exist_ok=True)
|
BASE_PATH.mkdir(parents=True, exist_ok=True)
|
||||||
|
|
||||||
|
|
||||||
CONFIG_URL_LIST = [
|
CONFIG_URL = "https://cdn.jsdelivr.net/gh/zhenxun-org/zhenxun_bot_plugins/plugins.json"
|
||||||
("https://cdn.jsdelivr.net/gh/HibiKier/zhenxun_bot_plugins/plugins.json",
|
|
||||||
"https://api.github.com/repos/HibiKier/zhenxun_bot_plugins/contents/{}?ref=main")
|
|
||||||
]
|
|
||||||
"""插件信息文件"""
|
"""插件信息文件"""
|
||||||
|
|
||||||
CONFIG_URL = CONFIG_URL_LIST[0][0]
|
DOWNLOAD_URL = (
|
||||||
|
"https://api.github.com/repos/zhenxun-org/zhenxun_bot_plugins/contents/{}?ref=main"
|
||||||
DOWNLOAD_URL = CONFIG_URL_LIST[0][1]
|
)
|
||||||
|
"""插件下载地址"""
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user