mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-09-02 22:12:25 +08:00
Merge branch 'main' into arknights
This commit is contained in:
commit
b1c292331f
@ -8,7 +8,7 @@ class Post:
|
||||
|
||||
target_type: str
|
||||
text: str
|
||||
url: str
|
||||
url: Optional[str]
|
||||
target_name: Optional[str] = None
|
||||
compress: bool = False
|
||||
override_use_pic: Optional[bool] = None
|
||||
@ -33,7 +33,7 @@ class Post:
|
||||
msgs.append(self.url)
|
||||
else:
|
||||
if self.url:
|
||||
text += '详情: {}'.format(self.url)
|
||||
text += ' \n详情: {}'.format(self.url)
|
||||
msgs.append(text)
|
||||
for pic in self.pics:
|
||||
msgs.append("[CQ:image,file={url}]".format(url=pic))
|
||||
|
Loading…
x
Reference in New Issue
Block a user