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

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.
@@ -1185,8 +1185,7 @@ class ComRegister {
1185
1185
  // 获取关注分组信息
1186
1186
  const checkGroupIsReady = async () => {
1187
1187
  // 判断是否有数据
1188
- if (this.loginDBData.dynamic_group_id === "" ||
1189
- this.loginDBData.dynamic_group_id === null) {
1188
+ if (!this.loginDBData?.dynamic_group_id) {
1190
1189
  // 没有数据,没有创建分组,尝试创建分组
1191
1190
  const createGroupData = await this.ctx.ba.createGroup("订阅");
1192
1191
  // 如果分组已创建,则获取分组id
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.1.7-alpha.3",
4
+ "version": "3.1.7",
5
5
  "contributors": [
6
6
  "Akokko <admin@akokko.com>"
7
7
  ],
package/readme.md CHANGED
@@ -247,6 +247,7 @@ uid为必填参数,为要推送的UP主的UID,index为可选参数,为要
247
247
  - ver 3.1.7-alpha.1 修复:启用自定义卡片样式后取消仍是自定义样式;
248
248
  - ver 3.1.7-alpha.2 修复:`liveDetect generateLiveImg() 推送卡片生成失败,原因:Cannot read properties of undefined (reading 'cardColorStart')`;
249
249
  - ver 3.1.7-alpha.3 修复:推送视频类动态报错;
250
+ - ver 3.1.7 修复:第一次使用插件报错 `TypeError: Cannot read properties of undefined (reading 'dynamic_group_id')`
250
251
 
251
252
  ## 交流群
252
253