mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2025-06-07 20:33:01 +08:00
fix stupid bug
This commit is contained in:
parent
7b128c60a8
commit
12b35ec6cc
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
home: true
|
home: true
|
||||||
heroText: Nonebot HK Reporter
|
heroText: Nonebot HK Reporter
|
||||||
tagline: 全网跑到什么地方,比其他的....bot跑得还快
|
tagline: 本bot励志做全世界跑得最快的记者
|
||||||
actionText: 快速部署
|
actionText: 快速部署
|
||||||
actionLink: /usage/
|
actionLink: /usage/
|
||||||
features:
|
features:
|
||||||
|
@ -122,7 +122,7 @@ class Post:
|
|||||||
return 'type: {}\nfrom: {}\ntext: {}\nurl: {}\npic: {}'.format(
|
return 'type: {}\nfrom: {}\ntext: {}\nurl: {}\npic: {}'.format(
|
||||||
self.target_type,
|
self.target_type,
|
||||||
self.target_name,
|
self.target_name,
|
||||||
self.text,
|
|
||||||
self.text if len(self.text) < 500 else self.text[:500] + '...',
|
self.text if len(self.text) < 500 else self.text[:500] + '...',
|
||||||
|
self.url,
|
||||||
', '.join(map(lambda x: 'b64img' if x.startswith('base64') else x, self.pics))
|
', '.join(map(lambda x: 'b64img' if x.startswith('base64') else x, self.pics))
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user