mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2026-05-10 18:57:56 +08:00
update
This commit is contained in:
@@ -84,7 +84,7 @@ class Weibo(NewMessage):
|
||||
if super_topic_img:
|
||||
try:
|
||||
res.append(
|
||||
super_topic_img.parent.parent.find("span", class_="surl-text").text
|
||||
super_topic_img.parent.parent.find("span", class_="surl-text").text # type: ignore
|
||||
+ "超话"
|
||||
)
|
||||
except:
|
||||
|
||||
@@ -21,9 +21,7 @@ class Post:
|
||||
target_name: Optional[str] = None
|
||||
compress: bool = False
|
||||
override_use_pic: Optional[bool] = None
|
||||
pics: Union[list[Union[str, bytes]], list[str], list[bytes]] = field(
|
||||
default_factory=list
|
||||
)
|
||||
pics: list[Union[str, bytes]] = field(default_factory=list)
|
||||
extra_msg: list[Message] = field(default_factory=list)
|
||||
|
||||
_message: Optional[list] = None
|
||||
|
||||
Reference in New Issue
Block a user