使用理由が聞かれないバグを修正
This commit is contained in:
parent
cf47a5b2ad
commit
8ade781d4b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue