mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
fix: script error
This commit is contained in:
parent
81a8115c56
commit
b3c1eff137
@ -86,5 +86,5 @@ where wt >nul 2>nul
|
|||||||
if %errorlevel% equ 0 (
|
if %errorlevel% equ 0 (
|
||||||
wt "cmd" /c "%QQPath%" --enable-logging %*
|
wt "cmd" /c "%QQPath%" --enable-logging %*
|
||||||
) else (
|
) else (
|
||||||
%QQPath%" --enable-logging %*
|
"%QQPath%" --enable-logging %*
|
||||||
)
|
)
|
||||||
|
@ -40,7 +40,7 @@ export class GoCQHTTPGetForwardMsgAction extends BaseAction<Payload, any> {
|
|||||||
const msgList = data.msgList;
|
const msgList = data.msgList;
|
||||||
const messages = await Promise.all(msgList.map(async msg => {
|
const messages = await Promise.all(msgList.map(async msg => {
|
||||||
const resMsg = await OB11Constructor.message(msg);
|
const resMsg = await OB11Constructor.message(msg);
|
||||||
resMsg.message_id = await MessageUnique.createMsg({ guildId:'',chatType:msg.chatType,peerUid:msg.peerUid },msg.msgId)!;
|
resMsg.message_id = MessageUnique.createMsg({ guildId: '', chatType: msg.chatType, peerUid: msg.peerUid }, msg.msgId)!;
|
||||||
return resMsg;
|
return resMsg;
|
||||||
}));
|
}));
|
||||||
messages.map(msg => {
|
messages.map(msg => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user