From 8729770e47659f68ecd2ef43b51eff5bf6757c47 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Thu, 10 Feb 2022 14:38:21 +0800 Subject: [PATCH] =?UTF-8?q?jd=5Fcmd=20=E6=9B=B4=E6=96=B0=20api=20=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jd_cmd.py | 2 +- list.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jd_cmd.py b/jd_cmd.py index ac8d932..aa66d66 100644 --- a/jd_cmd.py +++ b/jd_cmd.py @@ -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: diff --git a/list.json b/list.json index cf8efb7..9bc04b5 100644 --- a/list.json +++ b/list.json @@ -812,7 +812,7 @@ }, { "name": "jd_cmd", - "version": "1.02", + "version": "1.021", "section": "chat", "maintainer": "xtaodada", "size": "1.00 kb",