koishi-plugin-bilibili-notify 1.3.4 → 1.3.5

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.d.ts CHANGED
@@ -18,7 +18,7 @@ export interface Config {
18
18
  dynamic: {};
19
19
  dynamicUrl: boolean;
20
20
  dynamicCheckNumber: number;
21
- dynamicLoopTime: '1分钟' | '2分钟' | '3分钟' | '5分钟';
21
+ dynamicLoopTime: '1分钟' | '2分钟' | '3分钟' | '5分钟' | '20分钟';
22
22
  live: {};
23
23
  changeMasterInfoApi: boolean;
24
24
  liveStartAtAll: boolean;
package/lib/index.js CHANGED
@@ -93,7 +93,7 @@ exports.Config = koishi_1.Schema.object({
93
93
  .step(1)
94
94
  .default(5)
95
95
  .description('设定每次检查动态的数量。若订阅的UP主经常在短时间内连着发多条动态可以将该值提高,若订阅的UP主有置顶动态,在计算该值时应+1。默认值为5条'),
96
- dynamicLoopTime: koishi_1.Schema.union(['1分钟', '2分钟', '3分钟', '5分钟'])
96
+ dynamicLoopTime: koishi_1.Schema.union(['1分钟', '2分钟', '3分钟', '5分钟', '20分钟'])
97
97
  .role('')
98
98
  .default('2分钟')
99
99
  .description('设定多久检测一次动态。若需动态的时效性,可以设置为1分钟。若订阅的UP主经常在短时间内连着发多条动态应该将该值提高,否则会出现动态漏推送和晚推送的问题,默认值为2分钟'),
@@ -243,6 +243,9 @@ class ServerManager extends koishi_1.Service {
243
243
  case '5分钟':
244
244
  this.dynamicLoopTime = 300;
245
245
  break;
246
+ case '20分钟':
247
+ this.dynamicLoopTime = 1200;
248
+ break;
246
249
  }
247
250
  // 注册插件
248
251
  this.registerPlugin();
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": "1.3.4",
4
+ "version": "1.3.5",
5
5
  "contributors": [
6
6
  "Akokko <admin@akokko.com>"
7
7
  ],
package/readme.md CHANGED
@@ -170,6 +170,7 @@
170
170
  - ver 1.3.2 增加对飞书平台的支持
171
171
  - ver 1.3.3 新增直播推送人气信息展示
172
172
  - ver 1.3.4 新增消息推送失败是否自动重发的选项,修复了一些潜在的bug
173
+ - ver 1.3.5 动态监测循环时间新增20分钟选项
173
174
 
174
175
  ## 交流群
175
176