From 432af14c5984ac17067d91e8685535aef0059b96 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Mon, 22 Jan 2024 14:13:45 +0800 Subject: [PATCH] chore: remove username changed tg notice --- defs/update.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/defs/update.py b/defs/update.py index 1975226..54a18cf 100644 --- a/defs/update.py +++ b/defs/update.py @@ -166,7 +166,7 @@ async def check_update(): logs.info(f"处理完成,剩余 {nums - idx - 1} 个用户") if len(failed_users) > 5: logs.warning("失效数据过多,可能 API 失效") - else: - for user in failed_users: - await send_username_changed(user) + # else: + # for user in failed_users: + # await send_username_changed(user) logs.info("检查更新完成")