jd_cmd fix a bug

This commit is contained in:
xtaodada 2022-01-04 17:07:38 +08:00
parent bbdc3ee077
commit 0fac77a774
No known key found for this signature in database
GPG Key ID: EE4DC37B55E24736
2 changed files with 2 additions and 2 deletions

View File

@ -20,6 +20,6 @@ async def jd_cmd(context):
return await context.edit("[jd_cmd] 未找到 JD 口令!")
try:
data = data["data"]
await context.edit(f"[jd_cmd] [【{data['title']}】 - {data['userName']}]({data['jumpUrl']})")
await context.edit(f"【jd_cmd】 [【{data['title']}】 - {data['userName']}]({data['jumpUrl']})")
except KeyError:
return await context.edit("[jd_cmd] 数据错误!")

View File

@ -802,7 +802,7 @@
},
{
"name": "jd_cmd",
"version": "1.00",
"version": "1.01",
"section": "chat",
"maintainer": "xtaodada",
"size": "1.00 kb",