From 2afd0d2d03751a8c8a19d3556b231bd76d5c597a Mon Sep 17 00:00:00 2001 From: Karako Date: Wed, 22 Feb 2023 11:58:23 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Update=20for=20annotation=20mess?= =?UTF-8?q?ages=20that=20failed=20validation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Karako --- plugins/system/webapp.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/system/webapp.py b/plugins/system/webapp.py index 31556f2..212bbdd 100644 --- a/plugins/system/webapp.py +++ b/plugins/system/webapp.py @@ -1,8 +1,8 @@ from typing import Optional -from genshin import Region, GenshinException +from genshin import GenshinException, Region from pydantic import BaseModel -from telegram import ReplyKeyboardRemove, Update, WebAppInfo, ReplyKeyboardMarkup, KeyboardButton +from telegram import KeyboardButton, ReplyKeyboardMarkup, ReplyKeyboardRemove, Update, WebAppInfo from telegram.ext import CallbackContext, filters from core.base.redisdb import RedisDB @@ -140,7 +140,7 @@ class WebApp(Plugin): ) if result.path == "verify": await message.reply_text( - "验证过程中出现问题 %s\n如果继续遇到该问题,请打开米游社→我的角色中尝试手动通过验证" % result.message, + "验证过程中出现问题 %s\n" "如果继续遇到该问题,请打开米游社→我的角色中尝试手动通过验证,或发送 /verify 进行手动验证" % result.message, reply_markup=ReplyKeyboardRemove(), ) else: