mirror of
https://github.com/PaiGramTeam/MibooGram.git
synced 2024-11-16 04:45:27 +00:00
📝 Update for annotation messages that failed validation
Signed-off-by: Karako <karakohear@gmail.com>
This commit is contained in:
parent
b258deb864
commit
2afd0d2d03
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user