From 168460aa702f9358b34838172d1e1f1f6a70ac36 Mon Sep 17 00:00:00 2001 From: Lint Action Date: Sat, 10 Jul 2021 06:33:24 +0000 Subject: =?UTF-8?q?:rotating=5Flight:=20=E8=87=AA=E5=8A=A8=E8=BF=9B?= =?UTF-8?q?=E8=A1=8C=E4=BB=A3=E7=A0=81=E6=A0=BC=E5=BC=8F=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ATRI/rule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ATRI/rule.py') diff --git a/ATRI/rule.py b/ATRI/rule.py index aa8148c..ee9abcc 100644 --- a/ATRI/rule.py +++ b/ATRI/rule.py @@ -10,7 +10,7 @@ def is_in_service(service: str) -> Rule: result = ServiceTools().auth_service(service) if not result: return False - + if isinstance(event, PrivateMessageEvent): user_id = event.get_user_id() result = ServiceTools().auth_service(service, user_id) -- cgit v1.2.3