From 73e758516c39af81953aadd9ca96d7ef0a26cdb0 Mon Sep 17 00:00:00 2001 From: krau Date: Sat, 4 Nov 2023 17:31:50 +0800 Subject: [PATCH] feat: reset user cd manually --- kmua/callbacks/userdata.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kmua/callbacks/userdata.py b/kmua/callbacks/userdata.py index da37451..dc2b2a0 100644 --- a/kmua/callbacks/userdata.py +++ b/kmua/callbacks/userdata.py @@ -69,6 +69,7 @@ async def user_data_refresh(update: Update, context: ContextTypes.DEFAULT_TYPE): user_id=user.id, ) await query.answer("刷新中...") + context.application.drop_user_data(user.id) username = user.username full_name = user.full_name avatar_big_blog = await common.download_big_avatar(user.id, context)