fix mute and open_case

This commit is contained in:
HibiKier
2022-05-21 15:58:29 +08:00
parent 81e4bca9ef
commit fe2c82b03c
5 changed files with 15 additions and 13 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ async def get_saucenao_image(url: str) -> Union[str, List[str]]:
}
data = (await AsyncHttpx.post(API_URL_SAUCENAO, params=params)).json()
if data["header"]["status"] != 0:
return "Saucenao识图失败.."
return f"Saucenao识图失败..status:{data['header']['status']}"
data = data["results"]
data = (
data