From e5aece46ced6c9558641b9f33436c304d7236ff4 Mon Sep 17 00:00:00 2001 From: Kyomotoi <0w0@imki.moe> Date: Fri, 6 Jan 2023 19:25:56 +0800 Subject: =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=E6=8E=A5=E5=8F=97?= =?UTF-8?q?=E6=92=A4=E5=9B=9E=E4=BF=A1=E6=81=AF=E6=97=A0=E6=B3=95=E5=8F=96?= =?UTF-8?q?=E6=B6=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ATRI/plugins/essential/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ATRI') diff --git a/ATRI/plugins/essential/__init__.py b/ATRI/plugins/essential/__init__.py index da59ef8..32af510 100644 --- a/ATRI/plugins/essential/__init__.py +++ b/ATRI/plugins/essential/__init__.py @@ -171,7 +171,7 @@ recall_event = plugin.on_notice("撤回事件", "撤回事件检测") @recall_event.handle() async def _(bot: Bot, event: FriendRecallNoticeEvent): - if event.is_tome() and not _acc_recall: + if not event.is_tome() and not _acc_recall: return try: @@ -199,7 +199,7 @@ async def _(bot: Bot, event: FriendRecallNoticeEvent): @recall_event.handle() async def _(bot: Bot, event: GroupRecallNoticeEvent): - if event.is_tome() and not _acc_recall: + if not event.is_tome() and not _acc_recall: return try: -- cgit v1.2.3