优化首次查询提示

This commit is contained in:
惜月 2022-12-20 14:40:46 +08:00 committed by GitHub
parent 0f0ca49f64
commit 84d603f277
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -134,7 +134,7 @@ def CommandPlayer(limit: int = 3, only_cn: bool = True) -> List[Player]:
elif uid := await get_uid(event=event, user_id=user):
uids = [uid]
else:
await matcher.finish('第一次查询请把uid给我哦', at_sender=True)
await matcher.finish('第一次查询请把UID加在指令后面', at_sender=True)
extra_info = replace_all(extra_info, uids)
for uid in uids:
query_list.append(Player(user_id=user, uid=uid))
@ -165,7 +165,7 @@ def CommandUID(only_cn: bool = True) -> str:
elif uid := await get_uid(event=event):
uid = uid
else:
await matcher.finish('第一次查询请把UID给我哦')
await matcher.finish('第一次查询请把UID加在指令后面')
state['clear_msg'] = event.message.extract_plain_text().replace(uid, '')
return uid