関数名間違えてたので修正
This commit is contained in:
parent
69cb9537ff
commit
6fae61351d
1 changed files with 1 additions and 1 deletions
|
@ -1316,7 +1316,7 @@ async def button_init(interaction: discord.Interaction, text_channel: discord.Te
|
||||||
@tree.command(name="masterpass", description="PCのマスターパスワードを表示します。")
|
@tree.command(name="masterpass", description="PCのマスターパスワードを表示します。")
|
||||||
@discord.app_commands.default_permissions(administrator=True)
|
@discord.app_commands.default_permissions(administrator=True)
|
||||||
async def masterpass(interaction: discord.Interaction, pc_number: int):
|
async def masterpass(interaction: discord.Interaction, pc_number: int):
|
||||||
pc_master_password_get = dislocker.pc_master_password(pc_number=pc_number)
|
pc_master_password_get = dislocker.show_pc_master_password(pc_number=pc_number)
|
||||||
|
|
||||||
if pc_master_password_get["result"] == 0:
|
if pc_master_password_get["result"] == 0:
|
||||||
pc_master_password = pc_master_password_get["output_dict"]["master_password"]
|
pc_master_password = pc_master_password_get["output_dict"]["master_password"]
|
||||||
|
|
Loading…
Reference in a new issue