diff options
-rw-r--r-- | ATRI/plugins/curse.py | 2 | ||||
-rw-r--r-- | ATRI/plugins/saucenao/__init__.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ATRI/plugins/curse.py b/ATRI/plugins/curse.py index edd6249..85fe6d9 100644 --- a/ATRI/plugins/curse.py +++ b/ATRI/plugins/curse.py @@ -26,7 +26,7 @@ class Curse(Service): @staticmethod async def now() -> str: res = await request.get(URL) - result = await res.text # type: ignore + result = res.text return result diff --git a/ATRI/plugins/saucenao/__init__.py b/ATRI/plugins/saucenao/__init__.py index d0bf606..fed1096 100644 --- a/ATRI/plugins/saucenao/__init__.py +++ b/ATRI/plugins/saucenao/__init__.py @@ -53,6 +53,6 @@ async def _deal_search(bot: Bot, event: MessageEvent, state: T_State): except Exception: await saucenao.finish("失败了...") - result = f"> {MessageSegment.at(user_id)}" + await a.search(img[0]) + result = f"> {MessageSegment.at(user_id)}" + await a.search(img[0]) # type: ignore _search_flmt.start_cd(user_id) await saucenao.finish(Message(result)) |