diff --git a/lib/common/sendMsgMod.js b/lib/common/sendMsgMod.js index 6c64bf6..d2dce48 100644 --- a/lib/common/sendMsgMod.js +++ b/lib/common/sendMsgMod.js @@ -16,13 +16,14 @@ export default class { masterQQ = (!_.isEmpty(master) && master) || Config.masterQQ } if (Config.whole.notificationsAll) { - // 发送全部管理 + if (Bot.sendMasterMsg) return Bot.sendMasterMsg(msg) + // 发送全部主人 for (let index of masterQQ) { await common.relpyPrivate(index, msg, botUin) await common.sleep(5000) } } else { - // 发给第一个管理 + // 发给第一个主人 await common.relpyPrivate(masterQQ[0], msg, botUin) } }