Skip to content

Commit

Permalink
fix:trigger
Browse files Browse the repository at this point in the history
  • Loading branch information
sudoskys committed Jan 12, 2023
1 parent 90b81af commit 9ffaadb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions App/Event.py
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ async def Group(Message: User_Message, config) -> PublicReturn:
_user_name = Message.from_user.name
# 状态
if not _csonfig.get("statu"):
return PublicReturn(status=False, msg="BOT:Under Maintenance", trace="Statu")
return PublicReturn(status=True, msg="BOT:Under Maintenance", trace="Statu")
# 白名单检查
_white_user_check = await WhiteGroupCheck(_chat_id, config.WHITE)
_white_user_check: PublicReturn
Expand Down Expand Up @@ -519,7 +519,7 @@ async def Friends(Message: User_Message, config) -> PublicReturn:
_user_name = Message.from_user.name
# 状态
if not _csonfig.get("statu"):
return PublicReturn(status=False, msg="BOT:Under Maintenance", trace="Statu")
return PublicReturn(status=True, msg="BOT:Under Maintenance", trace="Statu")
# 白名单检查
_white_user_check = await WhiteUserCheck(_user_id, config.WHITE)
_white_user_check: PublicReturn
Expand Down

0 comments on commit 9ffaadb

Please sign in to comment.