mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-21 19:58:17 +00:00
jd_cmd 更新 api 接口
This commit is contained in:
parent
1001750f77
commit
8729770e47
@ -14,7 +14,7 @@ async def jd_cmd(context):
|
||||
except ValueError:
|
||||
return await context.edit("[jd_cmd] " + lang("msg_ValueError"))
|
||||
try:
|
||||
data = (await client.post("https://api.jds.codes/jCommand", json={"code": text})).json()
|
||||
data = (await client.post("https://api.jds.codes/jd/jCommand", json={"code": text})).json()
|
||||
except:
|
||||
return await context.edit("[jd_cmd] 网络错误!")
|
||||
if data["code"] != 200:
|
||||
|
Loading…
Reference in New Issue
Block a user