Skip to content

Commit

Permalink
fix: Remove active robot notice
Browse files Browse the repository at this point in the history
  • Loading branch information
KimmyXYC committed Feb 7, 2024
1 parent 7aa5df5 commit e0f168e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions App/JoinRequest.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,10 @@ async def handle_join_request(self, bot, request: types.ChatJoinRequest, db):
_zh_info = f"您正在申请加入「{request.chat.title}」,结果将于 {_cn_time} 后告知您。"
_en_info = f"You are applying to join 「{request.chat.title}」. " \
f"The result will be communicated to you in {_en_time}."
_info = f"请激活机器人以便告知您申请结果。\n" \
f"Please activate the robot so that it can inform you of the application result."
try:
self.user_message = await bot.send_message(
self.user_id,
f"{_zh_info}\n{_en_info}\n\n{_info}",
f"{_zh_info}\n{_en_info}",
)
except Exception as e:
logger.error(f"Send message to User_id:{self.user_id}: {e}")
Expand Down

0 comments on commit e0f168e

Please sign in to comment.