koishi-plugin-bilibili-notify 1.2.3-rc.1 → 1.2.3-rc.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.
- package/lib/comRegister.js +2 -3
- package/package.json +1 -1
- package/readme.md +1 -0
package/lib/comRegister.js
CHANGED
|
@@ -730,7 +730,7 @@ class ComRegister {
|
|
|
730
730
|
await this.sendPrivateMsgAndRebootService(bot, ctx, '测试biliAPI等服务自动重启功能');
|
|
731
731
|
});
|
|
732
732
|
biliCom
|
|
733
|
-
.subcommand('.sendall', '测试给机器人加入的所有群发送消息')
|
|
733
|
+
.subcommand('.sendall', '测试给机器人加入的所有群发送消息', { hidden: true })
|
|
734
734
|
.usage('测试给机器人加入的所有群发送消息')
|
|
735
735
|
.example('bili sendall 测试给机器人加入的所有群发送消息')
|
|
736
736
|
.action(async ({ session }) => {
|
|
@@ -901,8 +901,7 @@ class ComRegister {
|
|
|
901
901
|
// 判断是否需要推送所有机器人加入的群
|
|
902
902
|
if (targets[0] === 'ALL') {
|
|
903
903
|
// 获取所有guild
|
|
904
|
-
for (let guild in (await bot.getGuildList())) {
|
|
905
|
-
this.logger.info(`已加入${guild}`);
|
|
904
|
+
for (let guild in (await bot.getGuildList()).data) {
|
|
906
905
|
sendArr.push(guild);
|
|
907
906
|
}
|
|
908
907
|
}
|
package/package.json
CHANGED