diff --git a/src/RobotManager.ts b/src/RobotManager.ts index 6a7cc77..7b13a52 100644 --- a/src/RobotManager.ts +++ b/src/RobotManager.ts @@ -93,7 +93,7 @@ export class RobotManager { } try { - robot.sendMessage(targets, currentMsg); + await robot.sendMessage(targets, currentMsg); } catch(err) { console.error(`[${channelId}] 无法发送消息到 ${robotId} : `, err); }