summaryrefslogtreecommitdiff
path: root/ATRI/rule.py
diff options
context:
space:
mode:
authorLint Action <[email protected]>2021-07-10 06:33:24 +0000
committerLint Action <[email protected]>2021-07-10 06:33:24 +0000
commit168460aa702f9358b34838172d1e1f1f6a70ac36 (patch)
tree9e9c6d7ee51ce8f5fa19e67d4010ea49a99f0b2a /ATRI/rule.py
parent3e22c103b63dacf67b57f31842e0c00d3cb32bb5 (diff)
downloadATRI-168460aa702f9358b34838172d1e1f1f6a70ac36.tar.gz
ATRI-168460aa702f9358b34838172d1e1f1f6a70ac36.tar.bz2
ATRI-168460aa702f9358b34838172d1e1f1f6a70ac36.zip
:rotating_light: 自动进行代码格式化
Diffstat (limited to 'ATRI/rule.py')
-rw-r--r--ATRI/rule.py2
1 files changed, 1 insertions, 1 deletions
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)