精简bilibili-live的推送消息

This commit is contained in:
Azide 2022-05-25 00:24:22 +08:00
parent 526742bbdf
commit 88fd2bf456

View File

@ -207,5 +207,11 @@ class Bilibililive(StatusChange):
pic = [raw_post["cover"]] pic = [raw_post["cover"]]
target_name = raw_post["uname"] target_name = raw_post["uname"]
title = raw_post["title"] title = raw_post["title"]
text = "{} 直播中:\n{}\n\n小伙伴们速速前来围观!".format(target_name, title) return Post(
return Post(self.name, text=text, url=url, pics=pic, target_name=target_name) self.name,
text=title,
url=url,
pics=pic,
target_name=target_name,
compress=True,
)