修复机器人接口发送消息错误时异常退出的问题

main
落雨楓 2 years ago
parent 183a435480
commit df84d88adf

@ -93,7 +93,7 @@ export class RobotManager {
}
try {
robot.sendMessage(targets, currentMsg);
await robot.sendMessage(targets, currentMsg);
} catch(err) {
console.error(`[${channelId}] 无法发送消息到 ${robotId} : `, err);
}

Loading…
Cancel
Save