mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-04 02:26:11 +08:00
fix bug
This commit is contained in:
parent
1af0100575
commit
f8c1a15885
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user