koishi-plugin-bilibili-notify 1.2.0-alpha.0 → 1.2.0-alpha.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.
@@ -777,11 +777,11 @@ class ComRegister {
777
777
  // 主播信息不会变,开播时刷新一次即可
778
778
  uData = userData;
779
779
  // 发送直播通知卡片
780
- sendLiveNotifyCard(data, uData, LiveType.StartBroadcasting);
780
+ await sendLiveNotifyCard(data, uData, LiveType.StartBroadcasting);
781
781
  // 判断是否需要@全体成员
782
782
  if (this.config.liveStartAtAll) {
783
783
  // 发送@全体成员通知
784
- bot.sendMessage(guildId, (0, jsx_runtime_1.jsx)("at", { type: "all" }));
784
+ await bot.sendMessage(guildId, (0, jsx_runtime_1.jsx)("at", { type: "all" }));
785
785
  }
786
786
  }
787
787
  else { // 还在直播
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.0-alpha.0",
4
+ "version": "1.2.0-alpha.1",
5
5
  "contributors": [
6
6
  "Akokko <admin@akokko.com>"
7
7
  ],