mirror of
https://github.com/xuthus83/LittlePaimon.git
synced 2024-12-16 13:40:53 +08:00
Merge remote-tracking branch 'origin/Bot' into Bot
This commit is contained in:
commit
fae0bea908
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user