mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
🎈 pref: 优化哔哩哔哩直播分享细节
This commit is contained in:
parent
6acc6df0b7
commit
3ee7366b41
@ -484,9 +484,13 @@ export class tools extends plugin {
|
||||
// logger.info(streamId)
|
||||
// 提取相关信息
|
||||
const liveData = await this.getBiliStream(streamId);
|
||||
// logger.info(liveData);
|
||||
const { title, user_cover, description, tags } = liveData.data.data;
|
||||
e.reply([segment.image(user_cover), `直播间:${ title }\n\n简述:${ description }\n标签:${ tags }`]);
|
||||
logger.info(liveData);
|
||||
const { title, user_cover, keyframe, description, tags } = liveData.data.data;
|
||||
e.reply([
|
||||
segment.image(user_cover),
|
||||
segment.image(keyframe),
|
||||
`识别:哔哩哔哩直播,${title}${description ? `\n\n简述:${description}\n` : ''}${tags ? `标签:${tags}\n` : ''}`
|
||||
]);
|
||||
return true;
|
||||
}
|
||||
// 处理专栏
|
||||
|
Loading…
x
Reference in New Issue
Block a user