diff --git a/dislocker.py b/dislocker.py index 64de3fa..b051213 100644 --- a/dislocker.py +++ b/dislocker.py @@ -619,7 +619,7 @@ class Bot(discord.Client): for i in range(1, 11): device_register_button = discord.ui.Button(style=discord.ButtonStyle.primary, label=f"{i}", custom_id=f"deviceregister_{str(pc_number)}_{i}") device_register_view.add_item(device_register_button) - device_own_register_button = discord.ui.Button(style=discord.ButtonStyle.primary, label="自前", custom_id=f"device_register_{str(pc_number)}_own") + device_own_register_button = discord.ui.Button(style=discord.ButtonStyle.primary, label="自前", custom_id=f"deviceregister_{str(pc_number)}_own") device_register_view.add_item(device_own_register_button) await interaction.response.send_message(f"# :keyboard: デバイス番号を選んでください!\n>>> # PC番号 | {str(pc_number)}", view=device_register_view, ephemeral=True)