koishi-plugin-bilibili-notify 3.2.0-alpha.2 → 3.2.0-alpha.4

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.
@@ -1387,7 +1387,7 @@ class ComRegister {
1387
1387
  }
1388
1388
  if (liveStatus.live === true) {
1389
1389
  // 还在直播
1390
- if (liveStatus.push < (this.config.pushTime * 60 * 60) / 10) {
1390
+ if (liveStatus.push < (this.config.pushTime * 60 * 60) / 30) {
1391
1391
  // push++
1392
1392
  liveStatus.push++;
1393
1393
  // 结束本次循环
@@ -1739,7 +1739,7 @@ class ComRegister {
1739
1739
  }
1740
1740
  async enableLiveDetect() {
1741
1741
  // 定义Job
1742
- this.liveJob = new cron_1.CronJob("*/10 * * * * *", await this.liveDetectWithAPI());
1742
+ this.liveJob = new cron_1.CronJob("*/30 * * * * *", await this.liveDetectWithAPI());
1743
1743
  // logger
1744
1744
  this.logger.info("直播监测已开启");
1745
1745
  // 开始直播监测
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.2.0-alpha.2",
4
+ "version": "3.2.0-alpha.4",
5
5
  "contributors": [
6
6
  "Akokko <admin@akokko.com>"
7
7
  ],
package/readme.md CHANGED
@@ -250,7 +250,9 @@ uid为必填参数,为要推送的UP主的UID,index为可选参数,为要
250
250
  - ver 3.1.7 修复:第一次使用插件报错 `TypeError: Cannot read properties of undefined (reading 'dynamic_group_id')`
251
251
  - ver 3.2.0-alpha.0 新增:直播检测 `API` 模式; 优化:提升直播检测 `WS` 模式使用体验;
252
252
  - ver 3.2.0-alpha.1 修复:直播检测 `API` 模式,中途加入推送语无法正确显示直播时长;
253
- - ver 3.2.0-alpha.2 修复:直播检测 `API` 模式,请求错误优化(防止不停向QQ发送消息);
253
+ - ver 3.2.0-alpha.2 修复:直播检测 `API` 模式,请求错误优化(防止不停向QQ发送消息)
254
+ - ver 3.2.0-alpha.3 优化:增加直播检测 `API` 模式轮询时间,防止被暂时风控;
255
+ - ver 3.2.0-alpha.4 修复:直播卡片推送时间会是设置的 `pushTime` 的两倍;
254
256
 
255
257
  ## 交流群
256
258