koishi-plugin-bilibili-notify 1.2.2-beta.1 → 1.2.2-beta.2

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.
@@ -731,11 +731,11 @@ class ComRegister {
731
731
  // 如果pic存在,则直接返回pic
732
732
  if (pic) {
733
733
  // pic存在,使用的是render模式
734
- await this.sendMsg(guildId, bot, pic + ' ' + dUrl);
734
+ await this.sendMsg(guildId, bot, pic + dUrl);
735
735
  }
736
736
  else {
737
737
  // pic不存在,说明使用的是page模式
738
- await this.sendMsg(guildId, bot, koishi_1.h.image(buffer, 'image/png' + ' ' + dUrl));
738
+ await this.sendMsg(guildId, bot, koishi_1.h.image(buffer, 'image/png' + dUrl));
739
739
  }
740
740
  // 如果成功,那么跳出循环
741
741
  break;
@@ -794,14 +794,14 @@ class ComRegister {
794
794
  if (pic)
795
795
  return await this.sendMsg(guildId, bot, pic + (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("at", { type: "all" }), " ", liveStartMsg, " "] }));
796
796
  // pic不存在,说明使用的是page模式
797
- await this.sendMsg(guildId, bot, koishi_1.h.image(buffer, 'image/png' + ' ' + (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("at", { type: "all" }), " ", liveStartMsg] })));
797
+ await this.sendMsg(guildId, bot, koishi_1.h.image(buffer, 'image/png' + (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("at", { type: "all" }), " ", liveStartMsg] })));
798
798
  }
799
799
  else {
800
800
  // pic 存在,使用的是render模式
801
801
  if (pic)
802
802
  return await this.sendMsg(guildId, bot, pic + liveStartMsg);
803
803
  // pic不存在,说明使用的是page模式
804
- await this.sendMsg(guildId, bot, koishi_1.h.image(buffer, 'image/png' + ' ' + liveStartMsg));
804
+ await this.sendMsg(guildId, bot, koishi_1.h.image(buffer, 'image/png' + liveStartMsg));
805
805
  }
806
806
  // 成功则跳出循环
807
807
  break;
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.2-beta.1",
4
+ "version": "1.2.2-beta.2",
5
5
  "contributors": [
6
6
  "Akokko <admin@akokko.com>"
7
7
  ],