jd_cmd 更新 api 接口

This commit is contained in:
xtaodada 2022-02-10 14:38:21 +08:00
parent 1001750f77
commit 8729770e47
No known key found for this signature in database
GPG Key ID: EE4DC37B55E24736
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -812,7 +812,7 @@
},
{
"name": "jd_cmd",
"version": "1.02",
"version": "1.021",
"section": "chat",
"maintainer": "xtaodada",
"size": "1.00 kb",