mirror of
https://github.com/baiqwerdvd/ArknightsUID.git
synced 2025-06-19 05:45:03 +08:00
try fix
This commit is contained in:
parent
be794c1bf0
commit
61218a8a0a
@ -22,6 +22,8 @@ async def get_resp_msg(bot: Bot, ev: Event):
|
|||||||
if uid_list is None:
|
if uid_list is None:
|
||||||
return await bot.send(UID_HINT)
|
return await bot.send(UID_HINT)
|
||||||
phone_number = ev.text.strip()
|
phone_number = ev.text.strip()
|
||||||
|
if phone_number[0] == " ":
|
||||||
|
phone_number = phone_number[1:]
|
||||||
if not phone_number.isdigit():
|
if not phone_number.isdigit():
|
||||||
return await bot.send("你输入了错误的格式!")
|
return await bot.send("你输入了错误的格式!")
|
||||||
resp = await bot.receive_resp(
|
resp = await bot.receive_resp(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user