mirror of
https://github.com/KimigaiiWuyi/GenshinUID.git
synced 2025-05-07 04:03:45 +08:00
🎨 修改提示 (#497)
This commit is contained in:
parent
133e4e5106
commit
2bc2d67573
@ -33,7 +33,7 @@ async def sned_fresh_list(bot: Bot, ev: Event):
|
||||
if uid is None:
|
||||
return await bot.send(UID_HINT)
|
||||
logger.info(f'[刷新圣遗物仓库]uid: {uid}')
|
||||
|
||||
await bot.send(f'UID{uid}开始刷新, 请勿重复触发!')
|
||||
await bot.send(await refresh_player_list(uid))
|
||||
|
||||
|
||||
|
@ -38,7 +38,7 @@ async def get_artifacts_lib_data(uid: str) -> Optional[Dict]:
|
||||
async def draw_lib(user_id: str, uid: str) -> Union[bytes, str]:
|
||||
data = await get_artifacts_lib_data(uid)
|
||||
if data is None:
|
||||
return '你还没有圣遗物数据...请尝试使用[强制刷新]获取数据!'
|
||||
return '你还没有圣遗物数据...请尝试使用[刷新圣遗物仓库]获取数据!'
|
||||
|
||||
all_list = [x for v in data['data'].values() for x in v]
|
||||
all_list.sort(key=lambda x: x['cv_score'], reverse=True)
|
||||
|
Loading…
x
Reference in New Issue
Block a user