🎨 Update Reply Text

This commit is contained in:
洛水居室 2022-12-22 23:27:26 +08:00
parent 81e0c6f35d
commit 750c062f28
No known key found for this signature in database
GPG Key ID: C9DE87DA724B88FC

View File

@ -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)