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