koishi-plugin-bilibili-notify 3.1.7-alpha.0 → 3.1.7-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -926,7 +926,7 @@ class ComRegister {
926
926
  // 生成图片
927
927
  const buffer = await (0, utils_1.withRetry)(async () => {
928
928
  // 获取直播通知卡片
929
- return await this.ctx.gi.generateLiveImg(liveRoomInfo, masterInfo.username, masterInfo.userface, followerDisplay, liveType, cardStyle);
929
+ return await this.ctx.gi.generateLiveImg(liveRoomInfo, masterInfo.username, masterInfo.userface, followerDisplay, liveType, cardStyle.enable ? cardStyle : undefined);
930
930
  }, 1).catch((e) => {
931
931
  this.logger.error(`liveDetect generateLiveImg() 推送卡片生成失败,原因:${e.message}`);
932
932
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "koishi-plugin-bilibili-notify",
3
3
  "description": "Koishi bilibili notify plugin",
4
- "version": "3.1.7-alpha.0",
4
+ "version": "3.1.7-alpha.1",
5
5
  "contributors": [
6
6
  "Akokko <admin@akokko.com>"
7
7
  ],
package/readme.md CHANGED
@@ -244,6 +244,7 @@ uid为必填参数,为要推送的UP主的UID,index为可选参数,为要
244
244
  - ver 3.1.5 修复:非 `debug` 模式下动态推送,如果在一个监测周期内同一个订阅的up主发送多条动态,下一个监测周期会重复推送;
245
245
  - ver 3.1.6 修复:视频类动态推送时,发送的视频链接有误;
246
246
  - ver 3.1.7-alpha.0 修复:登录账号和订阅账号是同一个账号,动态不会推送,使用 `bili dyn` 指令,纯文本动态会被跳过; 新增:动态标题;
247
+ - ver 3.1.7-alpha.1 修复:启用自定义卡片样式后取消仍是自定义样式;
247
248
 
248
249
  ## 交流群
249
250