mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +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);
|
logDebug(sendElementsSplit);
|
||||||
}
|
}
|
||||||
// log("分割后的转发节点", sendElementsSplit)
|
// log("分割后的转发节点", sendElementsSplit)
|
||||||
let MsgNodeList: Promise<RawMessage>[] = [];
|
const MsgNodeList: Promise<RawMessage>[] = [];
|
||||||
for (const eles of sendElementsSplit) {
|
for (const eles of sendElementsSplit) {
|
||||||
MsgNodeList.push(sendMsg(selfPeer, eles, [], true));
|
MsgNodeList.push(sendMsg(selfPeer, eles, [], true));
|
||||||
await sleep(Math.trunc(sendElementsSplit.length / 10) * 100);
|
await sleep(Math.trunc(sendElementsSplit.length / 10) * 100);
|
||||||
//await sleep(10);
|
//await sleep(10);
|
||||||
}
|
}
|
||||||
for (const msgNode of MsgNodeList) {
|
for (const msgNode of MsgNodeList) {
|
||||||
let result = await msgNode;
|
const result = await msgNode;
|
||||||
nodeMsgIds.push(result.msgId);
|
nodeMsgIds.push(result.msgId);
|
||||||
logDebug('转发节点生成成功', result.msgId);
|
logDebug('转发节点生成成功', result.msgId);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user