リストの番号を修正

This commit is contained in:
suti7yk5032 2024-09-06 02:29:19 +09:00
parent e97562b9b2
commit 4836e6ae8f

View file

@ -967,7 +967,7 @@ class Bot(discord.Client):
if len(custom_id_split) >= 3:
if custom_id_split[2] == "quick":
reason = custom_id_split[5]
reason = custom_id_split[3]
register = bot.register(discord_user_id=interaction.user.id, name=interaction.user.name, display_name=interaction.user.display_name, pc_number=pc_number, keyboard_number=keyboard_number, mouse_number=mouse_number, detail=reason)
if register["about"] == "ok":
await interaction.response.send_message(f":white_check_mark: 使用が開始されました。\n>>> # パスワード | {register["output_dict"]["password"]}\n## PC番号 | {pc_number}\n## 使用目的 | {reason}", ephemeral=True)