diff options
author | Lint Action <[email protected]> | 2023-02-12 13:12:55 +0000 |
---|---|---|
committer | Lint Action <[email protected]> | 2023-02-12 13:12:55 +0000 |
commit | 917f903ef21cd528af7a52d8dbe65bac435eaa51 (patch) | |
tree | 811cddde4cec4e7ad1a0027626073abc41007309 | |
parent | 43922296596f16a47e8c007db7f493cfaabc72d0 (diff) | |
download | ATRI-917f903ef21cd528af7a52d8dbe65bac435eaa51.tar.gz ATRI-917f903ef21cd528af7a52d8dbe65bac435eaa51.tar.bz2 ATRI-917f903ef21cd528af7a52d8dbe65bac435eaa51.zip |
:rotating_light: 自动进行代码格式化
-rw-r--r-- | ATRI/exceptions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ATRI/exceptions.py b/ATRI/exceptions.py index 1f29238..a4089b7 100644 --- a/ATRI/exceptions.py +++ b/ATRI/exceptions.py @@ -136,7 +136,7 @@ async def _(bot: Bot, event, matcher: Matcher, exception: Optional[Exception]): msg = MessageBuilder("该群报错提示已达限制, 将冷却10min").text("如需反馈请: 来杯红茶") else: limiter.increase(group_id) - + if limiter.get_times(group_id) > 3: return |