mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-acgnshow.git
synced 2026-04-21 08:45:39 +00:00
🐛 修复展览详情无法获取
This commit is contained in:
@@ -46,7 +46,7 @@ async def get_show_details_cmd(id: Optional[int] = None):
|
||||
await UniMessage("请输入展览ID").send()
|
||||
return
|
||||
show_details = await get_show_details(id)
|
||||
if show_details["errno"] != 0:
|
||||
if show_details["code"] != 0:
|
||||
await UniMessage("发生{}号错误".format(show_details["errno"])).send()
|
||||
return
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user