koishi-plugin-bilibili-notify 3.5.0-alpha.0 → 3.5.0-alpha.1
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.cjs +33 -25
- package/lib/index.d.cts +6 -3
- package/lib/index.d.mts +6 -3
- package/lib/index.mjs +33 -25
- package/package.json +2 -2
package/lib/index.cjs
CHANGED
|
@@ -130,8 +130,9 @@ const BAConfigSchema = koishi.Schema.object({
|
|
|
130
130
|
"🎖️ 特别嘉奖:-un4 & -un5",
|
|
131
131
|
"你们的弹幕,我们都记录在案!🕵️♀️"
|
|
132
132
|
]).role("table").description("自定义直播总结语,开启弹幕词云自动发送。变量解释:-dmc代表总弹幕发送人数,-mdn代表主播粉丝牌子名,-dca代表总弹幕数,-un1到-un5代表弹幕发送条数前五名用户的用户名,-dc1到-dc5代表弹幕发送条数前五名的弹幕发送数量,数组每一行代表换行"),
|
|
133
|
-
|
|
133
|
+
customGuardBuy: koishi.Schema.intersect([koishi.Schema.object({ enable: koishi.Schema.boolean().default(false).description("是否开启自定义上舰消息功能").experimental() }), koishi.Schema.union([koishi.Schema.object({
|
|
134
134
|
enable: koishi.Schema.const(true).required(),
|
|
135
|
+
guardBuyMsg: koishi.Schema.string().default("【-mname的直播间】-uname加入了大航海(-guard)").description("自定义上舰消息,-uname代表用户昵称,-muname代表主播昵称,-guard代表舰长类型"),
|
|
135
136
|
captainImgUrl: koishi.Schema.string().default("https://s1.hdslb.com/bfs/static/blive/live-pay-mono/relation/relation/assets/captain-Bjw5Byb5.png").description("舰长图片链接"),
|
|
136
137
|
supervisorImgUrl: koishi.Schema.string().default("https://s1.hdslb.com/bfs/static/blive/live-pay-mono/relation/relation/assets/supervisor-u43ElIjU.png").description("提督图片链接"),
|
|
137
138
|
governorImgUrl: koishi.Schema.string().default("https://s1.hdslb.com/bfs/static/blive/live-pay-mono/relation/relation/assets/governor-DpDXKEdA.png").description("总督图片链接")
|
|
@@ -865,11 +866,12 @@ var ComRegister = class ComRegister {
|
|
|
865
866
|
roomid,
|
|
866
867
|
dynamic: s.dynamic,
|
|
867
868
|
live: s.live,
|
|
869
|
+
liveEnd: true,
|
|
868
870
|
target,
|
|
869
871
|
customCardStyle: { enable: false },
|
|
870
872
|
customLiveMsg: { enable: false },
|
|
871
873
|
customLiveSummary: { enable: false },
|
|
872
|
-
|
|
874
|
+
customGuardBuy: { enable: false }
|
|
873
875
|
};
|
|
874
876
|
});
|
|
875
877
|
return subs;
|
|
@@ -933,15 +935,17 @@ var ComRegister = class ComRegister {
|
|
|
933
935
|
sub.customLiveMsg.customLiveEnd = this.config.customLiveEnd;
|
|
934
936
|
sub.customLiveMsg.customLive = this.config.customLive;
|
|
935
937
|
}
|
|
936
|
-
if (sub.
|
|
937
|
-
if (!sub.
|
|
938
|
-
if (!sub.
|
|
939
|
-
if (!sub.
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
sub.
|
|
943
|
-
sub.
|
|
944
|
-
sub.
|
|
938
|
+
if (sub.customGuardBuy.enable) {
|
|
939
|
+
if (!sub.customGuardBuy.guardBuyMsg.trim()) sub.customGuardBuy.guardBuyMsg = this.config.customGuardBuy.guardBuyMsg;
|
|
940
|
+
if (!sub.customGuardBuy.captainImgUrl.trim()) sub.customGuardBuy.captainImgUrl = this.config.customGuardBuy.captainImgUrl;
|
|
941
|
+
if (!sub.customGuardBuy.supervisorImgUrl.trim()) sub.customGuardBuy.supervisorImgUrl = this.config.customGuardBuy.supervisorImgUrl;
|
|
942
|
+
if (!sub.customGuardBuy.governorImgUrl.trim()) sub.customGuardBuy.governorImgUrl = this.config.customGuardBuy.governorImgUrl;
|
|
943
|
+
} else if (this.config.customGuardBuy.enable) {
|
|
944
|
+
sub.customGuardBuy.enable = true;
|
|
945
|
+
sub.customGuardBuy.guardBuyMsg = this.config.customGuardBuy.guardBuyMsg;
|
|
946
|
+
sub.customGuardBuy.captainImgUrl = this.config.customGuardBuy.captainImgUrl;
|
|
947
|
+
sub.customGuardBuy.supervisorImgUrl = this.config.customGuardBuy.supervisorImgUrl;
|
|
948
|
+
sub.customGuardBuy.governorImgUrl = this.config.customGuardBuy.governorImgUrl;
|
|
945
949
|
}
|
|
946
950
|
if (sub.customLiveSummary.enable) {
|
|
947
951
|
if (!sub.customLiveSummary.liveSummary.trim()) sub.customLiveSummary.liveSummary = this.config.liveSummary.join("\n");
|
|
@@ -1489,13 +1493,14 @@ var ComRegister = class ComRegister {
|
|
|
1489
1493
|
},
|
|
1490
1494
|
onGuardBuy: async ({ body }) => {
|
|
1491
1495
|
const msg = await (async () => {
|
|
1492
|
-
if (sub.
|
|
1496
|
+
if (sub.customGuardBuy.enable) {
|
|
1493
1497
|
const guardImg = {
|
|
1494
|
-
[blive_message_listener.GuardLevel.Jianzhang]: sub.
|
|
1495
|
-
[blive_message_listener.GuardLevel.Tidu]: sub.
|
|
1496
|
-
[blive_message_listener.GuardLevel.Zongdu]: sub.
|
|
1498
|
+
[blive_message_listener.GuardLevel.Jianzhang]: sub.customGuardBuy.captainImgUrl,
|
|
1499
|
+
[blive_message_listener.GuardLevel.Tidu]: sub.customGuardBuy.supervisorImgUrl,
|
|
1500
|
+
[blive_message_listener.GuardLevel.Zongdu]: sub.customGuardBuy.governorImgUrl
|
|
1497
1501
|
};
|
|
1498
|
-
|
|
1502
|
+
const msg$1 = sub.customGuardBuy.guardBuyMsg.replace("-uname", body.user.uname).replace("-mname", masterInfo.username).replace("-guard", body.gift_name);
|
|
1503
|
+
return (0, koishi.h)("message", [koishi.h.image(guardImg[body.guard_level]), koishi.h.text(msg$1)]);
|
|
1499
1504
|
} else {
|
|
1500
1505
|
const guardImg = ComRegister.GUARD_LEVEL_IMG[body.guard_level];
|
|
1501
1506
|
const data = await this.ctx["bilibili-notify-api"].getUserInfoInLive(body.user.uid.toString(), sub.uid);
|
|
@@ -1578,17 +1583,19 @@ var ComRegister = class ComRegister {
|
|
|
1578
1583
|
})();
|
|
1579
1584
|
liveData.fansChanged = followerChange;
|
|
1580
1585
|
const liveEndMsg = sub.customLiveMsg.customLiveEnd.replace("-name", masterInfo.username).replace("-time", diffTime).replace("-follower_change", followerChange).replaceAll("\\n", "\n");
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
+
if (sub.liveEnd) {
|
|
1587
|
+
await this.sendLiveNotifyCard(LiveType.StopBroadcast, liveData, {
|
|
1588
|
+
liveRoomInfo,
|
|
1589
|
+
masterInfo,
|
|
1590
|
+
cardStyle: sub.customCardStyle
|
|
1591
|
+
}, sub.uid, liveEndMsg);
|
|
1592
|
+
await sendDanmakuWordCloudAndLiveSummary(sub.customLiveSummary.liveSummary);
|
|
1593
|
+
}
|
|
1586
1594
|
if (pushAtTimeTimer) {
|
|
1587
1595
|
pushAtTimeTimer();
|
|
1588
1596
|
pushAtTimeTimer = null;
|
|
1589
1597
|
this.liveWSManager.delete(sub.roomid);
|
|
1590
1598
|
}
|
|
1591
|
-
await sendDanmakuWordCloudAndLiveSummary(sub.customLiveSummary.liveSummary);
|
|
1592
1599
|
}
|
|
1593
1600
|
});
|
|
1594
1601
|
if (!await useLiveRoomInfo(LiveType.FirstLiveBroadcast) && !await useMasterInfo(LiveType.FirstLiveBroadcast)) return this.sendPrivateMsg("获取直播间信息失败,启动直播间弹幕检测失败!");
|
|
@@ -1905,11 +1912,12 @@ var ComRegister = class ComRegister {
|
|
|
1905
1912
|
model: koishi.Schema.string().default("gpt-3.5-turbo"),
|
|
1906
1913
|
persona: koishi.Schema.string()
|
|
1907
1914
|
}),
|
|
1908
|
-
|
|
1915
|
+
customGuardBuy: koishi.Schema.object({
|
|
1909
1916
|
enable: koishi.Schema.boolean().default(false).description("是否启用自定义舰长购买图片"),
|
|
1910
1917
|
captainImgUrl: koishi.Schema.string().description("舰长图片链接"),
|
|
1911
1918
|
supervisorImgUrl: koishi.Schema.string().description("提督图片链接"),
|
|
1912
|
-
governorImgUrl: koishi.Schema.string().description("总督图片链接")
|
|
1919
|
+
governorImgUrl: koishi.Schema.string().description("总督图片链接"),
|
|
1920
|
+
guardBuyMsg: koishi.Schema.string().description("舰长购买消息")
|
|
1913
1921
|
})
|
|
1914
1922
|
});
|
|
1915
1923
|
})(ComRegister || (ComRegister = {}));
|
|
@@ -4512,7 +4520,7 @@ var ServerManager = class extends koishi.Service {
|
|
|
4512
4520
|
customLiveStart: globalConfig.customLiveStart,
|
|
4513
4521
|
customLive: globalConfig.customLive,
|
|
4514
4522
|
customLiveEnd: globalConfig.customLiveEnd,
|
|
4515
|
-
customGuardBuyImg: globalConfig.
|
|
4523
|
+
customGuardBuyImg: globalConfig.customGuardBuy,
|
|
4516
4524
|
dynamicUrl: globalConfig.dynamicUrl,
|
|
4517
4525
|
dynamicCron: globalConfig.dynamicCron,
|
|
4518
4526
|
dynamicVideoUrlToBV: globalConfig.dynamicVideoUrlToBV,
|
package/lib/index.d.cts
CHANGED
|
@@ -38,8 +38,9 @@ interface BAConfig {
|
|
|
38
38
|
live: {};
|
|
39
39
|
wordcloudStopWords: string;
|
|
40
40
|
liveSummary: Array<string>;
|
|
41
|
-
|
|
41
|
+
customGuardBuy: {
|
|
42
42
|
enable: boolean;
|
|
43
|
+
guardBuyMsg?: string;
|
|
43
44
|
captainImgUrl?: string;
|
|
44
45
|
supervisorImgUrl?: string;
|
|
45
46
|
governorImgUrl?: string;
|
|
@@ -95,8 +96,9 @@ type CustomLiveMsg = {
|
|
|
95
96
|
customLive?: string;
|
|
96
97
|
customLiveEnd?: string;
|
|
97
98
|
};
|
|
98
|
-
type
|
|
99
|
+
type CustomGuardBuy = {
|
|
99
100
|
enable: boolean;
|
|
101
|
+
guardBuyMsg?: string;
|
|
100
102
|
captainImgUrl?: string;
|
|
101
103
|
supervisorImgUrl?: string;
|
|
102
104
|
governorImgUrl?: string;
|
|
@@ -111,11 +113,12 @@ type Subscription = {
|
|
|
111
113
|
roomid: string;
|
|
112
114
|
dynamic: boolean;
|
|
113
115
|
live: boolean;
|
|
116
|
+
liveEnd: boolean;
|
|
114
117
|
target: Target;
|
|
115
118
|
customCardStyle: CustomCardStyle;
|
|
116
119
|
customLiveMsg: CustomLiveMsg;
|
|
117
120
|
customLiveSummary: CustomLiveSummary;
|
|
118
|
-
|
|
121
|
+
customGuardBuy: CustomGuardBuy;
|
|
119
122
|
};
|
|
120
123
|
type Subscriptions = Record<string, Subscription>;
|
|
121
124
|
//#endregion
|
package/lib/index.d.mts
CHANGED
|
@@ -38,8 +38,9 @@ interface BAConfig {
|
|
|
38
38
|
live: {};
|
|
39
39
|
wordcloudStopWords: string;
|
|
40
40
|
liveSummary: Array<string>;
|
|
41
|
-
|
|
41
|
+
customGuardBuy: {
|
|
42
42
|
enable: boolean;
|
|
43
|
+
guardBuyMsg?: string;
|
|
43
44
|
captainImgUrl?: string;
|
|
44
45
|
supervisorImgUrl?: string;
|
|
45
46
|
governorImgUrl?: string;
|
|
@@ -95,8 +96,9 @@ type CustomLiveMsg = {
|
|
|
95
96
|
customLive?: string;
|
|
96
97
|
customLiveEnd?: string;
|
|
97
98
|
};
|
|
98
|
-
type
|
|
99
|
+
type CustomGuardBuy = {
|
|
99
100
|
enable: boolean;
|
|
101
|
+
guardBuyMsg?: string;
|
|
100
102
|
captainImgUrl?: string;
|
|
101
103
|
supervisorImgUrl?: string;
|
|
102
104
|
governorImgUrl?: string;
|
|
@@ -111,11 +113,12 @@ type Subscription = {
|
|
|
111
113
|
roomid: string;
|
|
112
114
|
dynamic: boolean;
|
|
113
115
|
live: boolean;
|
|
116
|
+
liveEnd: boolean;
|
|
114
117
|
target: Target;
|
|
115
118
|
customCardStyle: CustomCardStyle;
|
|
116
119
|
customLiveMsg: CustomLiveMsg;
|
|
117
120
|
customLiveSummary: CustomLiveSummary;
|
|
118
|
-
|
|
121
|
+
customGuardBuy: CustomGuardBuy;
|
|
119
122
|
};
|
|
120
123
|
type Subscriptions = Record<string, Subscription>;
|
|
121
124
|
//#endregion
|
package/lib/index.mjs
CHANGED
|
@@ -101,8 +101,9 @@ const BAConfigSchema = Schema.object({
|
|
|
101
101
|
"🎖️ 特别嘉奖:-un4 & -un5",
|
|
102
102
|
"你们的弹幕,我们都记录在案!🕵️♀️"
|
|
103
103
|
]).role("table").description("自定义直播总结语,开启弹幕词云自动发送。变量解释:-dmc代表总弹幕发送人数,-mdn代表主播粉丝牌子名,-dca代表总弹幕数,-un1到-un5代表弹幕发送条数前五名用户的用户名,-dc1到-dc5代表弹幕发送条数前五名的弹幕发送数量,数组每一行代表换行"),
|
|
104
|
-
|
|
104
|
+
customGuardBuy: Schema.intersect([Schema.object({ enable: Schema.boolean().default(false).description("是否开启自定义上舰消息功能").experimental() }), Schema.union([Schema.object({
|
|
105
105
|
enable: Schema.const(true).required(),
|
|
106
|
+
guardBuyMsg: Schema.string().default("【-mname的直播间】-uname加入了大航海(-guard)").description("自定义上舰消息,-uname代表用户昵称,-muname代表主播昵称,-guard代表舰长类型"),
|
|
106
107
|
captainImgUrl: Schema.string().default("https://s1.hdslb.com/bfs/static/blive/live-pay-mono/relation/relation/assets/captain-Bjw5Byb5.png").description("舰长图片链接"),
|
|
107
108
|
supervisorImgUrl: Schema.string().default("https://s1.hdslb.com/bfs/static/blive/live-pay-mono/relation/relation/assets/supervisor-u43ElIjU.png").description("提督图片链接"),
|
|
108
109
|
governorImgUrl: Schema.string().default("https://s1.hdslb.com/bfs/static/blive/live-pay-mono/relation/relation/assets/governor-DpDXKEdA.png").description("总督图片链接")
|
|
@@ -836,11 +837,12 @@ var ComRegister = class ComRegister {
|
|
|
836
837
|
roomid,
|
|
837
838
|
dynamic: s.dynamic,
|
|
838
839
|
live: s.live,
|
|
840
|
+
liveEnd: true,
|
|
839
841
|
target,
|
|
840
842
|
customCardStyle: { enable: false },
|
|
841
843
|
customLiveMsg: { enable: false },
|
|
842
844
|
customLiveSummary: { enable: false },
|
|
843
|
-
|
|
845
|
+
customGuardBuy: { enable: false }
|
|
844
846
|
};
|
|
845
847
|
});
|
|
846
848
|
return subs;
|
|
@@ -904,15 +906,17 @@ var ComRegister = class ComRegister {
|
|
|
904
906
|
sub.customLiveMsg.customLiveEnd = this.config.customLiveEnd;
|
|
905
907
|
sub.customLiveMsg.customLive = this.config.customLive;
|
|
906
908
|
}
|
|
907
|
-
if (sub.
|
|
908
|
-
if (!sub.
|
|
909
|
-
if (!sub.
|
|
910
|
-
if (!sub.
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
sub.
|
|
914
|
-
sub.
|
|
915
|
-
sub.
|
|
909
|
+
if (sub.customGuardBuy.enable) {
|
|
910
|
+
if (!sub.customGuardBuy.guardBuyMsg.trim()) sub.customGuardBuy.guardBuyMsg = this.config.customGuardBuy.guardBuyMsg;
|
|
911
|
+
if (!sub.customGuardBuy.captainImgUrl.trim()) sub.customGuardBuy.captainImgUrl = this.config.customGuardBuy.captainImgUrl;
|
|
912
|
+
if (!sub.customGuardBuy.supervisorImgUrl.trim()) sub.customGuardBuy.supervisorImgUrl = this.config.customGuardBuy.supervisorImgUrl;
|
|
913
|
+
if (!sub.customGuardBuy.governorImgUrl.trim()) sub.customGuardBuy.governorImgUrl = this.config.customGuardBuy.governorImgUrl;
|
|
914
|
+
} else if (this.config.customGuardBuy.enable) {
|
|
915
|
+
sub.customGuardBuy.enable = true;
|
|
916
|
+
sub.customGuardBuy.guardBuyMsg = this.config.customGuardBuy.guardBuyMsg;
|
|
917
|
+
sub.customGuardBuy.captainImgUrl = this.config.customGuardBuy.captainImgUrl;
|
|
918
|
+
sub.customGuardBuy.supervisorImgUrl = this.config.customGuardBuy.supervisorImgUrl;
|
|
919
|
+
sub.customGuardBuy.governorImgUrl = this.config.customGuardBuy.governorImgUrl;
|
|
916
920
|
}
|
|
917
921
|
if (sub.customLiveSummary.enable) {
|
|
918
922
|
if (!sub.customLiveSummary.liveSummary.trim()) sub.customLiveSummary.liveSummary = this.config.liveSummary.join("\n");
|
|
@@ -1460,13 +1464,14 @@ var ComRegister = class ComRegister {
|
|
|
1460
1464
|
},
|
|
1461
1465
|
onGuardBuy: async ({ body }) => {
|
|
1462
1466
|
const msg = await (async () => {
|
|
1463
|
-
if (sub.
|
|
1467
|
+
if (sub.customGuardBuy.enable) {
|
|
1464
1468
|
const guardImg = {
|
|
1465
|
-
[GuardLevel.Jianzhang]: sub.
|
|
1466
|
-
[GuardLevel.Tidu]: sub.
|
|
1467
|
-
[GuardLevel.Zongdu]: sub.
|
|
1469
|
+
[GuardLevel.Jianzhang]: sub.customGuardBuy.captainImgUrl,
|
|
1470
|
+
[GuardLevel.Tidu]: sub.customGuardBuy.supervisorImgUrl,
|
|
1471
|
+
[GuardLevel.Zongdu]: sub.customGuardBuy.governorImgUrl
|
|
1468
1472
|
};
|
|
1469
|
-
|
|
1473
|
+
const msg$1 = sub.customGuardBuy.guardBuyMsg.replace("-uname", body.user.uname).replace("-mname", masterInfo.username).replace("-guard", body.gift_name);
|
|
1474
|
+
return h("message", [h.image(guardImg[body.guard_level]), h.text(msg$1)]);
|
|
1470
1475
|
} else {
|
|
1471
1476
|
const guardImg = ComRegister.GUARD_LEVEL_IMG[body.guard_level];
|
|
1472
1477
|
const data = await this.ctx["bilibili-notify-api"].getUserInfoInLive(body.user.uid.toString(), sub.uid);
|
|
@@ -1549,17 +1554,19 @@ var ComRegister = class ComRegister {
|
|
|
1549
1554
|
})();
|
|
1550
1555
|
liveData.fansChanged = followerChange;
|
|
1551
1556
|
const liveEndMsg = sub.customLiveMsg.customLiveEnd.replace("-name", masterInfo.username).replace("-time", diffTime).replace("-follower_change", followerChange).replaceAll("\\n", "\n");
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
+
if (sub.liveEnd) {
|
|
1558
|
+
await this.sendLiveNotifyCard(LiveType.StopBroadcast, liveData, {
|
|
1559
|
+
liveRoomInfo,
|
|
1560
|
+
masterInfo,
|
|
1561
|
+
cardStyle: sub.customCardStyle
|
|
1562
|
+
}, sub.uid, liveEndMsg);
|
|
1563
|
+
await sendDanmakuWordCloudAndLiveSummary(sub.customLiveSummary.liveSummary);
|
|
1564
|
+
}
|
|
1557
1565
|
if (pushAtTimeTimer) {
|
|
1558
1566
|
pushAtTimeTimer();
|
|
1559
1567
|
pushAtTimeTimer = null;
|
|
1560
1568
|
this.liveWSManager.delete(sub.roomid);
|
|
1561
1569
|
}
|
|
1562
|
-
await sendDanmakuWordCloudAndLiveSummary(sub.customLiveSummary.liveSummary);
|
|
1563
1570
|
}
|
|
1564
1571
|
});
|
|
1565
1572
|
if (!await useLiveRoomInfo(LiveType.FirstLiveBroadcast) && !await useMasterInfo(LiveType.FirstLiveBroadcast)) return this.sendPrivateMsg("获取直播间信息失败,启动直播间弹幕检测失败!");
|
|
@@ -1876,11 +1883,12 @@ var ComRegister = class ComRegister {
|
|
|
1876
1883
|
model: Schema.string().default("gpt-3.5-turbo"),
|
|
1877
1884
|
persona: Schema.string()
|
|
1878
1885
|
}),
|
|
1879
|
-
|
|
1886
|
+
customGuardBuy: Schema.object({
|
|
1880
1887
|
enable: Schema.boolean().default(false).description("是否启用自定义舰长购买图片"),
|
|
1881
1888
|
captainImgUrl: Schema.string().description("舰长图片链接"),
|
|
1882
1889
|
supervisorImgUrl: Schema.string().description("提督图片链接"),
|
|
1883
|
-
governorImgUrl: Schema.string().description("总督图片链接")
|
|
1890
|
+
governorImgUrl: Schema.string().description("总督图片链接"),
|
|
1891
|
+
guardBuyMsg: Schema.string().description("舰长购买消息")
|
|
1884
1892
|
})
|
|
1885
1893
|
});
|
|
1886
1894
|
})(ComRegister || (ComRegister = {}));
|
|
@@ -4483,7 +4491,7 @@ var ServerManager = class extends Service {
|
|
|
4483
4491
|
customLiveStart: globalConfig.customLiveStart,
|
|
4484
4492
|
customLive: globalConfig.customLive,
|
|
4485
4493
|
customLiveEnd: globalConfig.customLiveEnd,
|
|
4486
|
-
customGuardBuyImg: globalConfig.
|
|
4494
|
+
customGuardBuyImg: globalConfig.customGuardBuy,
|
|
4487
4495
|
dynamicUrl: globalConfig.dynamicUrl,
|
|
4488
4496
|
dynamicCron: globalConfig.dynamicCron,
|
|
4489
4497
|
dynamicVideoUrlToBV: globalConfig.dynamicVideoUrlToBV,
|
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.5.0-alpha.
|
|
4
|
+
"version": "3.5.0-alpha.1",
|
|
5
5
|
"main": "./lib/index.cjs",
|
|
6
6
|
"typings": "lib/index.d.ts",
|
|
7
7
|
"files": [
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"@types/qrcode": "^1.5.6",
|
|
50
50
|
"@types/tough-cookie": "^4.0.5",
|
|
51
51
|
"koishi-plugin-puppeteer": "^3.9.0",
|
|
52
|
-
"tsdown": "^0.16.
|
|
52
|
+
"tsdown": "^0.16.6"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"koishi": "^4.18.9"
|