koishi-plugin-bilibili-notify 3.0.0-alpha.19 → 3.0.0-alpha.20

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
@@ -303,15 +303,15 @@ exports.Config = koishi_1.Schema.object({
303
303
  subTitle: koishi_1.Schema.object({}).description("订阅配置"),
304
304
  sub: koishi_1.Schema.array(koishi_1.Schema.object({
305
305
  uid: koishi_1.Schema.string().required().description("订阅用户UID"),
306
- dynamic: koishi_1.Schema.boolean().required().description("是否订阅用户动态"),
307
- live: koishi_1.Schema.boolean().required().description("是否订阅用户直播"),
306
+ dynamic: koishi_1.Schema.boolean().default(false).description("是否订阅用户动态"),
307
+ live: koishi_1.Schema.boolean().default(false).description("是否订阅用户直播"),
308
308
  target: koishi_1.Schema.array(koishi_1.Schema.object({
309
309
  channelIdArr: koishi_1.Schema.array(koishi_1.Schema.object({
310
310
  channelId: koishi_1.Schema.string().required().description("频道/群组号"),
311
- dynamic: koishi_1.Schema.boolean().required().description("该频道/群组是否推送动态信息"),
312
- live: koishi_1.Schema.boolean().required().description("该频道/群组是否推送直播通知"),
313
- liveGuardBuy: koishi_1.Schema.boolean().required().description("该频道/群组是否推送上舰消息"),
314
- atAll: koishi_1.Schema.boolean().required().description("推送开播通知时是否艾特全体成员"),
311
+ dynamic: koishi_1.Schema.boolean().default(false).description("该频道/群组是否推送动态信息"),
312
+ live: koishi_1.Schema.boolean().default(false).description("该频道/群组是否推送直播通知"),
313
+ liveGuardBuy: koishi_1.Schema.boolean().default(false).description("该频道/群组是否推送上舰消息"),
314
+ atAll: koishi_1.Schema.boolean().default(false).description("推送开播通知时是否艾特全体成员"),
315
315
  })).required().description("需推送的频道/群组详细设置"),
316
316
  platform: koishi_1.Schema.string().required().description("推送平台"),
317
317
  })).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.0.0-alpha.19",
4
+ "version": "3.0.0-alpha.20",
5
5
  "contributors": [
6
6
  "Akokko <admin@akokko.com>"
7
7
  ],
package/readme.md CHANGED
@@ -199,6 +199,7 @@
199
199
  - ver 3.0.0-alpha.17 新增:更多的提示语变量,开播,当前粉丝数。正在直播,累计观看人数。下播,粉丝数变化。选项,新增的提示语变量是否展示到推送卡片中
200
200
  - ver 3.0.0-alpha.18 移除:直播检测API模式已被废弃; 优化:更多提示语数据显示优化
201
201
  - ver 3.0.0-alpha.19 修复:开播提示语粉丝数单位错误; 优化:订阅配置中所有配置项改为必填项
202
+ - ver 3.0.0-alpha.20 优化:订阅配置中开关选项默认为关闭
202
203
 
203
204
  ## 交流群
204
205