diff --git a/dislocker.py b/dislocker.py index 7d5e140..dda688a 100644 --- a/dislocker.py +++ b/dislocker.py @@ -1252,6 +1252,9 @@ async def on_button(interaction: discord.Interaction): keyboard_not_register_button = discord.ui.Button(style=discord.ButtonStyle.primary, label="キーボードは自前", custom_id=f"keyboardregister_{str(pc_number)}_0") keyboard_register_view.add_item(keyboard_not_register_button) + keyboard_mouse_not_register_button = discord.ui.Button(style=discord.ButtonStyle.primary, label="キーボード、マウスとも自前", custom_id=f"mouseregister_{str(pc_number)}_0_0") + keyboard_register_view.add_item(keyboard_mouse_not_register_button) + await interaction.response.send_message(f"# :keyboard: キーボードのデバイス番号を選んでください!\n>>> # PC番号 | {str(pc_number)}", view=keyboard_register_view, ephemeral=True) elif custom_id_split[0] == "keyboardregister":