mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-07 12:23:00 +08:00
Merge branch 'main' into arknights
This commit is contained in:
commit
b4366e5f4a
@ -29,9 +29,10 @@ class Post:
|
|||||||
text += '\n{}'.format(self.text)
|
text += '\n{}'.format(self.text)
|
||||||
if self._use_pic():
|
if self._use_pic():
|
||||||
msgs.append(await parse_text(text))
|
msgs.append(await parse_text(text))
|
||||||
if not self.target_type == 'rss':
|
if not self.target_type == 'rss' and self.url:
|
||||||
msgs.append(self.url)
|
msgs.append(self.url)
|
||||||
else:
|
else:
|
||||||
|
if self.url:
|
||||||
text += '详情: {}'.format(self.url)
|
text += '详情: {}'.format(self.url)
|
||||||
msgs.append(text)
|
msgs.append(text)
|
||||||
for pic in self.pics:
|
for pic in self.pics:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user