mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-16 13:01:14 +00:00
style: eslint
This commit is contained in:
parent
d6113a8f0a
commit
bc1deba3e4
@ -564,14 +564,14 @@ export class SendMsg extends BaseAction<OB11PostSendMsg, ReturnDataType> {
|
||||
logDebug(sendElementsSplit);
|
||||
}
|
||||
// log("分割后的转发节点", sendElementsSplit)
|
||||
let MsgNodeList: Promise<RawMessage>[] = [];
|
||||
const MsgNodeList: Promise<RawMessage>[] = [];
|
||||
for (const eles of sendElementsSplit) {
|
||||
MsgNodeList.push(sendMsg(selfPeer, eles, [], true));
|
||||
await sleep(Math.trunc(sendElementsSplit.length / 10) * 100);
|
||||
//await sleep(10);
|
||||
}
|
||||
for (const msgNode of MsgNodeList) {
|
||||
let result = await msgNode;
|
||||
const result = await msgNode;
|
||||
nodeMsgIds.push(result.msgId);
|
||||
logDebug('转发节点生成成功', result.msgId);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user