This commit is contained in:
xtaodada 2022-06-04 14:22:38 +08:00
parent 5827f151a3
commit b4211d3ea4
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -14,6 +14,8 @@ async def info_command(_: Client, message: Message):
uid = message.command[1]
data = Player(uid)
data.restore()
if not data.all_char:
return await message.reply("没有可展示的角色,可能是数据未刷新", quote=True)
return await message.reply(f"游戏 uid 为 {uid} 的角色缓存有:\n\n"
f"{data.gen_all_char()}", quote=True)
else: