From df84d88adf0e1c042ae7f7d2a04247db61eed22c Mon Sep 17 00:00:00 2001 From: Lex Lim Date: Mon, 15 Aug 2022 15:21:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9C=BA=E5=99=A8=E4=BA=BA?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=8F=91=E9=80=81=E6=B6=88=E6=81=AF=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E6=97=B6=E5=BC=82=E5=B8=B8=E9=80=80=E5=87=BA=E7=9A=84?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/RobotManager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }