koishi-plugin-bilibili-notify 3.3.8-alpha.2 → 3.3.8

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.
package/lib/index.js CHANGED
@@ -1373,7 +1373,7 @@ var ComRegister$1 = class {
1373
1373
  liveTime = liveRoomInfo.live_time;
1374
1374
  const watched = watchedNum || "暂未获取到";
1375
1375
  const liveMsg = liveMsgObj.customLive.replace("-name", masterInfo.username).replace("-time", await this.ctx["bilibili-notify-generate-img"].getTimeDifference(liveTime)).replace("-watched", watched).replaceAll("\\n", "\n").replace("-link", `https://live.bilibili.com/${liveRoomInfo.short_id === 0 ? liveRoomInfo.room_id : liveRoomInfo.short_id}`);
1376
- if (this.config.restartPush) await this.sendLiveNotifyCard(LiveType.LiveBroadcast, watched, {
1376
+ if (this.config.restartPush) this.sendLiveNotifyCard(LiveType.LiveBroadcast, watched, {
1377
1377
  liveRoomInfo,
1378
1378
  masterInfo,
1379
1379
  cardStyle: sub.customCardStyle
package/lib/index.mjs CHANGED
@@ -1355,7 +1355,7 @@ var ComRegister$1 = class {
1355
1355
  liveTime = liveRoomInfo.live_time;
1356
1356
  const watched = watchedNum || "暂未获取到";
1357
1357
  const liveMsg = liveMsgObj.customLive.replace("-name", masterInfo.username).replace("-time", await this.ctx["bilibili-notify-generate-img"].getTimeDifference(liveTime)).replace("-watched", watched).replaceAll("\\n", "\n").replace("-link", `https://live.bilibili.com/${liveRoomInfo.short_id === 0 ? liveRoomInfo.room_id : liveRoomInfo.short_id}`);
1358
- if (this.config.restartPush) await this.sendLiveNotifyCard(LiveType.LiveBroadcast, watched, {
1358
+ if (this.config.restartPush) this.sendLiveNotifyCard(LiveType.LiveBroadcast, watched, {
1359
1359
  liveRoomInfo,
1360
1360
  masterInfo,
1361
1361
  cardStyle: sub.customCardStyle
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.3.8-alpha.2",
4
+ "version": "3.3.8",
5
5
  "main": "./lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [