koishi-plugin-bilibili-notify 1.2.12-alpha.3 → 1.2.12

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.
@@ -822,6 +822,14 @@ class ComRegister {
822
822
  // 结束循环
823
823
  break;
824
824
  }
825
+ case 4101128: { // 获取动态信息错误
826
+ // 输出日志
827
+ this.logger.error('获取动态信息错误,错误码为:' + content.code + ',错误为:' + content.message);
828
+ // 发送私聊消息
829
+ await this.sendPrivateMsg(bot, '获取动态信息错误,错误码为:' + content.code + ',错误为:' + content.message); // 未知错误
830
+ // 结束循环
831
+ break;
832
+ }
825
833
  default: { // 未知错误
826
834
  // 发送私聊消息
827
835
  await this.sendPrivateMsg(bot, '获取动态信息错误,错误码为:' + content.code + ',错误为:' + content.message); // 未知错误
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.2.12-alpha.3",
4
+ "version": "1.2.12",
5
5
  "contributors": [
6
6
  "Akokko <admin@akokko.com>"
7
7
  ],
package/readme.md CHANGED
@@ -155,6 +155,7 @@
155
155
  - ver 1.2.12-alpha.1 删除直播推送时的多余空格
156
156
  - ver 1.2.12-alpha.2 尝试修复版本 `1.2.12-alpha.0 账号出现某些问题后,不会再清除订阅信息` 仍然会清除订阅信息的bug
157
157
  - ver 1.2.12-alpha.3 尝试修复订阅时使用 `all` 报错的bug
158
+ - ver 1.2.12 新增动态错误处理
158
159
 
159
160
  ## 交流群
160
161