diff options
Diffstat (limited to 'ATRI')
| -rw-r--r-- | ATRI/plugins/status.py | 7 | 
1 files changed, 4 insertions, 3 deletions
| diff --git a/ATRI/plugins/status.py b/ATRI/plugins/status.py index dbf95dc..70ea18d 100644 --- a/ATRI/plugins/status.py +++ b/ATRI/plugins/status.py @@ -52,9 +52,10 @@ async def _():              bot = None          if not limiter.check("114514"):              msg = "状态检查提示已达限制, 将冷却 6h" -         +          try: -            if bot: await plugin.send_to_master(msg) +            if bot: +                await plugin.send_to_master(msg)              limiter.increase("114514")          except Exception:              return @@ -134,4 +135,4 @@ def get_status() -> Tuple[str, bool]:          msg=msg,      ) -    return unescape(msg0), is_ok
\ No newline at end of file +    return unescape(msg0), is_ok | 
