From f8c1a15885d69ba81407a504e11360cf1a5a4909 Mon Sep 17 00:00:00 2001 From: felinae98 <731499577@qq.com> Date: Mon, 1 Nov 2021 14:38:18 +0800 Subject: [PATCH] fix bug --- src/plugins/nonebot_hk_reporter/platform/arknights.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/plugins/nonebot_hk_reporter/platform/arknights.py b/src/plugins/nonebot_hk_reporter/platform/arknights.py index 642dde5..4393f17 100644 --- a/src/plugins/nonebot_hk_reporter/platform/arknights.py +++ b/src/plugins/nonebot_hk_reporter/platform/arknights.py @@ -121,6 +121,9 @@ class MonsterSiren(NewMessage, NoTargetMixin): def get_date(self, _) -> None: return None + def get_category(self, _) -> Category: + return Category(3) + async def parse(self, raw_post: RawPost) -> Post: url = f'https://monster-siren.hypergryph.com/info/{raw_post["cid"]}' async with httpx.AsyncClient() as client: