summaryrefslogtreecommitdiff
path: root/ATRI
diff options
context:
space:
mode:
Diffstat (limited to 'ATRI')
-rw-r--r--ATRI/plugins/essential/__init__.py4
1 files changed, 2 insertions, 2 deletions
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: