PC情報の使用ユーザー表示を修正
This commit is contained in:
parent
d4fb94c0a2
commit
98574811f3
1 changed files with 1 additions and 1 deletions
|
@ -1604,7 +1604,7 @@ async def pcinfo(interaction: discord.Interaction):
|
||||||
if current_pc_list['using_member_id'] == None:
|
if current_pc_list['using_member_id'] == None:
|
||||||
pc_using_value = f'未使用'
|
pc_using_value = f'未使用'
|
||||||
else:
|
else:
|
||||||
discord_user_id = dislocker.get_discord_user_id(member_id=current_pc_list['using_member_id'])
|
discord_user_id = dislocker.get_discord_user_id(member_id=current_pc_list['using_member_id'])[discord_user_id]
|
||||||
pc_using_value = f'<@{discord_user_id}> が使用中'
|
pc_using_value = f'<@{discord_user_id}> が使用中'
|
||||||
|
|
||||||
result_embed.add_field(name=f'{pc_name_title}', value=f'{pc_using_value}')
|
result_embed.add_field(name=f'{pc_name_title}', value=f'{pc_using_value}')
|
||||||
|
|
Loading…
Reference in a new issue