mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-05 19:36:43 +08:00
fix no target
This commit is contained in:
parent
d8bbe19936
commit
679cb2f24d
@ -259,7 +259,7 @@ class PlatformNoTarget(PlatformProto):
|
|||||||
res.append(raw_post)
|
res.append(raw_post)
|
||||||
return res
|
return res
|
||||||
|
|
||||||
async def fetch_new_post(self, users: list[User]) -> list[tuple[User, list[Post]]]:
|
async def fetch_new_post(self, _: Target, users: list[User]) -> list[tuple[User, list[Post]]]:
|
||||||
try:
|
try:
|
||||||
config = Config()
|
config = Config()
|
||||||
post_list = await self.get_sub_list()
|
post_list = await self.get_sub_list()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user