使用理由が聞かれないバグを修正

This commit is contained in:
suti7yk5032 2024-09-09 14:20:26 +09:00
parent cf47a5b2ad
commit 8ade781d4b

View file

@ -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)