mirror of
https://github.com/suyiiyii/nonebot-bison.git
synced 2026-05-10 10:47:56 +08:00
fix(platform-mcbbsnews):为mcbbsnews推送消息加上title
This commit is contained in:
@@ -215,7 +215,7 @@ class McbbsNews(NewMessage):
|
||||
|
||||
return Post(
|
||||
self.name,
|
||||
text=text,
|
||||
text="{}\n\n{}".format(raw_post["title"], text),
|
||||
url=post_url,
|
||||
pics=pic_urls,
|
||||
target_name=raw_post["category"],
|
||||
|
||||
Reference in New Issue
Block a user