diff --git a/dislocker_slash.py b/dislocker_slash.py index 057a849..118dc43 100644 --- a/dislocker_slash.py +++ b/dislocker_slash.py @@ -1316,7 +1316,7 @@ async def button_init(interaction: discord.Interaction, text_channel: discord.Te @tree.command(name="masterpass", description="PCのマスターパスワードを表示します。") @discord.app_commands.default_permissions(administrator=True) 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: pc_master_password = pc_master_password_get["output_dict"]["master_password"]