koishi-plugin-bilibili-notify 3.3.1-rc.3 → 3.3.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.js +1 -1
- package/lib/index.mjs +1 -1
- package/package.json +1 -1
- package/readme.md +2 -1
package/lib/index.js
CHANGED
|
@@ -1666,7 +1666,7 @@ var ComRegister = class {
|
|
|
1666
1666
|
this.preInitConfig(subs);
|
|
1667
1667
|
for (const sub of Object.values(subs)) {
|
|
1668
1668
|
this.logger.info(`加载订阅UID:${sub.uid}中...`);
|
|
1669
|
-
if (!sub.roomid) {
|
|
1669
|
+
if (sub.live && !sub.roomid) {
|
|
1670
1670
|
this.logger.info(`UID:${sub.uid} 请求了用户接口~`);
|
|
1671
1671
|
const { code: userInfoCode, message: userInfoMsg, data: userInfoData } = await withRetry(async () => {
|
|
1672
1672
|
const data = await this.ctx["bilibili-notify-api"].getUserInfo(sub.uid);
|
package/lib/index.mjs
CHANGED
|
@@ -1647,7 +1647,7 @@ var ComRegister = class {
|
|
|
1647
1647
|
this.preInitConfig(subs);
|
|
1648
1648
|
for (const sub of Object.values(subs)) {
|
|
1649
1649
|
this.logger.info(`加载订阅UID:${sub.uid}中...`);
|
|
1650
|
-
if (!sub.roomid) {
|
|
1650
|
+
if (sub.live && !sub.roomid) {
|
|
1651
1651
|
this.logger.info(`UID:${sub.uid} 请求了用户接口~`);
|
|
1652
1652
|
const { code: userInfoCode, message: userInfoMsg, data: userInfoData } = await withRetry(async () => {
|
|
1653
1653
|
const data = await this.ctx["bilibili-notify-api"].getUserInfo(sub.uid);
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -328,9 +328,10 @@ uid为必填参数,为要推送的UP主的UID,index为可选参数,为要
|
|
|
328
328
|
> - ver 3.3.1-alpha.0 新增:弹幕词云自定义停用词、UP主弹幕词云开关; 优化:`liveSummary` 排版方式更加直观;
|
|
329
329
|
> - ver 3.3.1-alpha.1 优化:拆分 `wordcloud` 和 `liveSummary`,优化指令 `bili cap` 风控验证;
|
|
330
330
|
> - ver 3.3.1-rc.0 优化:代码结构,部分设置; 修复:启用高级订阅时,多次重载高级订阅插件会产生多个重复订阅;
|
|
331
|
-
> - ver 3.3.1-rc.1
|
|
331
|
+
> - ver 3.3.1-rc.1 优化:动态错误处理;
|
|
332
332
|
> - ver 3.3.1-rc.2 新增:订阅UID项可填写roomid,在目前版本可以极大降低风控概率;
|
|
333
333
|
> - ver 3.3.1-rc.3 修复:当订阅用户没有直播且勾选订阅直播间报错;
|
|
334
|
+
> - ver 3.3.1 优化:如果不订阅UP主直播且未填写房间号不再请求用户接口;
|
|
334
335
|
|
|
335
336
|
## 交流群
|
|
336
337
|
|