From 750c062f280c21e0972bbf08ea9832947150baf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=9B=E6=B0=B4=E5=B1=85=E5=AE=A4?= Date: Thu, 22 Dec 2022 23:27:26 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Update=20Reply=20Text?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/genshin/cookies.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/genshin/cookies.py b/plugins/genshin/cookies.py index 45fcfb80..b05168d7 100644 --- a/plugins/genshin/cookies.py +++ b/plugins/genshin/cookies.py @@ -313,7 +313,9 @@ class SetUserCookies(Plugin.Conversation, BasePlugin.Conversation): return ConversationHandler.END except InvalidCookies: logger.info("用户 %s[%s] Cookies已经过期", user.full_name, user.id) - await message.reply_text("Cookies已经过期,请检查是否正确", reply_markup=ReplyKeyboardRemove()) + await message.reply_text( + "获取账号信息失败,返回Cookies已经过期,请尝试在无痕浏览器登录通行证后获取Cookies。", reply_markup=ReplyKeyboardRemove() + ) return ConversationHandler.END except GenshinException as exc: logger.info("用户 %s[%s] 获取账号信息发生错误 [%s]%s", user.full_name, user.id, exc.retcode, exc.original)