From 8fa1bd7c01c3f284324a6623be4bed47510522f1 Mon Sep 17 00:00:00 2001 From: Kyomotoi Date: Thu, 16 Dec 2021 23:31:09 +0800 Subject: =?UTF-8?q?=F0=9F=9A=B8=E2=9A=A1=EF=B8=8F=20=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E5=B8=AE=E5=8A=A9=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ATRI/plugins/rich/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ATRI/plugins/rich') diff --git a/ATRI/plugins/rich/__init__.py b/ATRI/plugins/rich/__init__.py index b18ae51..bcd58f7 100644 --- a/ATRI/plugins/rich/__init__.py +++ b/ATRI/plugins/rich/__init__.py @@ -6,7 +6,7 @@ from .data_source import Rich _rich_flmt = FreqLimiter(3) -bili_rich = Rich().on_message("小程序爪巴", block=False) +bili_rich = Rich().on_message("小程序检测", "小程序爪巴", block=False) @bili_rich.handle() @@ -18,7 +18,7 @@ async def _fk_bili(bot: Bot, event: MessageEvent): msg = str(event.message) try: result, is_ok = await Rich().fk_bili(msg) - except BaseException: + except Exception: return log.debug(result, is_ok) if not is_ok: -- cgit v1.2.3