koishi-plugin-bilibili-notify 3.2.0-alpha.5 → 3.2.0-alpha.6

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
@@ -319,13 +319,15 @@ exports.Config = koishi_1.Schema.object({
319
319
  .description("发送动态时是否同时发送链接。注意:如果使用的是QQ官方机器人不能开启此项!"),
320
320
  pushImgsInDynamic: koishi_1.Schema.boolean()
321
321
  .default(false)
322
- .description("是否推送动态中的图片,默认不开启。开启后会单独推送动态中的图片"),
322
+ .description("是否推送动态中的图片,默认不开启。开启后会单独推送动态中的图片,该功能容易导致QQ风控"),
323
323
  live: koishi_1.Schema.object({}).description("直播推送设置"),
324
- liveDetectType: koishi_1.Schema.union(["WS", "API"])
324
+ liveDetectType: koishi_1.Schema.union([
325
+ koishi_1.Schema.const("WS").description("使用WebSocket连接到B站消息服务器进行直播检测,推荐使用"),
326
+ koishi_1.Schema.const("API").description("通过轮询API发送请求监测直播状态,此模式理论可无限订阅,但容易产生其他问题,功能没有WS模式全面").experimental(),
327
+ ])
325
328
  .role("radio")
326
329
  .default("WS")
327
- .description("直播检测方式,WS为连接到B站弹幕服务器,API为通过轮询发送请求监测,默认使用WS检测")
328
- .experimental(),
330
+ .description("直播检测方式,WS为连接到B站消息服务器,API为通过轮询发送请求监测,默认使用WS检测"),
329
331
  restartPush: koishi_1.Schema.boolean()
330
332
  .default(true)
331
333
  .description("插件重启后,如果订阅的主播正在直播,是否进行一次推送,默认开启"),
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.5",
4
+ "version": "3.2.0-alpha.6",
5
5
  "contributors": [
6
6
  "Akokko <admin@akokko.com>"
7
7
  ],
package/readme.md CHANGED
@@ -254,6 +254,7 @@ uid为必填参数,为要推送的UP主的UID,index为可选参数,为要
254
254
  - ver 3.2.0-alpha.3 优化:增加直播检测 `API` 模式轮询时间,防止被暂时风控;
255
255
  - ver 3.2.0-alpha.4 修复:直播卡片推送时间会是设置的 `pushTime` 的两倍;
256
256
  - ver 3.2.0-alpha.5 修复:直播检测 `WS` 模式下,直播中推送卡片 `累计观看人数` 位置错误显示为 `粉丝数变化` 、转发动态的留言文字不显示; 优化:直播检测 `API` 模式下,直播推送语 `-watched` 固定显示为 `API模式无法获取`;
257
+ - ver 3.2.0-alpha.6 优化:调整配置项;
257
258
 
258
259
  ## 交流群
259
260