Merge branch 'master' of https://gitee.com/yeyang52/yenai-plugin
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user