From ca6549dc6faaed020b9eb13e86f1610e1601c0ee Mon Sep 17 00:00:00 2001 From: shanmite Date: Tue, 19 Jul 2022 11:44:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=20=E7=A8=8B=E5=BA=8F=E5=9C=A8=E8=AF=B7?= =?UTF-8?q?=E6=B1=82=E5=A4=9A=E6=AC=A1=E8=BE=93=E5=85=A5=E9=AA=8C=E8=AF=81?= =?UTF-8?q?=E7=A0=81=E6=97=B6=E5=88=87=E6=8D=A2=E4=B8=8B=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E8=B4=A6=E5=8F=B7=20(#167)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fixed: #167 --- lib/core/monitor.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/core/monitor.js b/lib/core/monitor.js index 0639ea3..1529bbd 100644 --- a/lib/core/monitor.js +++ b/lib/core/monitor.js @@ -173,6 +173,8 @@ class Monitor extends Searcher { case 1002: case 1003: case 1004: + is_shutdown = true; + break; case 1005: case 1006: case 1007: @@ -550,7 +552,7 @@ class Monitor extends Searcher { if (rid && chat_type) { status = await retryfn( - 5, + 6, [1, 4], () => bili.sendChat( rid,