This commit is contained in:
Jerry 2025-05-09 23:39:00 +08:00
parent c7a5c0cd21
commit 095353e73e

View File

@ -73,8 +73,9 @@ class BotService {
clientID: data.clientId ? data.clientId : await this.getBotClient(sendBot), clientID: data.clientId ? data.clientId : await this.getBotClient(sendBot),
}, },
}; };
logger.debug(sendData);
if (sendData.data.clientID) { if (sendData.data.clientID) {
const returnData = await wsClientManager.send(sendData.data.clientID, sendData); const returnData = await wsClientManager.sendAndWait(sendData.data.clientID, sendData);
if (returnData) { if (returnData) {
return returnData; return returnData;
} else { } else {