koishi-plugin-bilibili-notify 1.1.0-beta.0 → 1.1.0-rc.0
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/comRegister.js +7 -8
- package/package.json +2 -2
- package/readme.md +1 -0
package/lib/comRegister.js
CHANGED
|
@@ -700,17 +700,16 @@ class ComRegister {
|
|
|
700
700
|
}
|
|
701
701
|
const { data } = content;
|
|
702
702
|
// B站出问题了
|
|
703
|
-
if (content.code !== 0) {
|
|
703
|
+
/* if (content.code !== 0) {
|
|
704
704
|
if (content.msg === '未找到该房间') {
|
|
705
|
-
await bot.sendMessage(guildId, '未找到该房间,请检查房间号后重新订阅')
|
|
706
|
-
}
|
|
707
|
-
|
|
708
|
-
await bot.sendMessage(guildId, '未知错误,请呼叫管理员检查问题后重新订阅');
|
|
705
|
+
await bot.sendMessage(guildId, '未找到该房间,请检查房间号后重新订阅')
|
|
706
|
+
} else {
|
|
707
|
+
await bot.sendMessage(guildId, '未知错误,请呼叫管理员检查问题后重新订阅')
|
|
709
708
|
}
|
|
710
709
|
// dispose
|
|
711
|
-
this.unsubSingle(ctx, roomId, 0)
|
|
712
|
-
return
|
|
713
|
-
}
|
|
710
|
+
this.unsubSingle(ctx, roomId, 0) // 0为取消Live订阅
|
|
711
|
+
return
|
|
712
|
+
} */
|
|
714
713
|
if (firstSubscription) {
|
|
715
714
|
firstSubscription = false;
|
|
716
715
|
// 获取主播信息
|
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.1.0-
|
|
4
|
+
"version": "1.1.0-rc.0",
|
|
5
5
|
"contributors": [
|
|
6
6
|
"Akokko <admin@akokko.com>"
|
|
7
7
|
],
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"bilibili"
|
|
25
25
|
],
|
|
26
26
|
"peerDependencies": {
|
|
27
|
-
"koishi": "^4.16.
|
|
27
|
+
"koishi": "^4.16.8"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"axios-cookiejar-support": "^5.0.0",
|
package/readme.md
CHANGED
|
@@ -92,6 +92,7 @@
|
|
|
92
92
|
- ver 1.0.14 修复了获取二维码,二维码失效后会多次发送提示的bug,新增对`red`的支持,新增开播艾特全体成员功能,优化了部分逻辑
|
|
93
93
|
- ver 1.1.0-alpha.0 修复了直播订阅一段时间过后提示房间不存在的bug,修复了自动登录刷新错误的bug
|
|
94
94
|
- ver 1.1.0-beta.0 修复了一个bug(如果本身已经存在乱码问题的情况下,使用page模式仍然会乱码),修复了日志bug
|
|
95
|
+
- ver 1.1.0-rc.0 修复了订阅用户直播一段时间后提示用户直播间不存在并自动取消订阅的bug
|
|
95
96
|
|
|
96
97
|
## 感谢
|
|
97
98
|
|