From e9a322f839cee0f92bcb29bb5dd3e207cf455b7a Mon Sep 17 00:00:00 2001 From: suti7yk5032 Date: Thu, 25 Jul 2024 14:24:24 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=87=E3=83=90=E3=82=A4=E3=82=B9=E7=95=AA?= =?UTF-8?q?=E5=8F=B7=E3=82=9210=E7=95=AA=E3=81=BE=E3=81=A7=E3=81=AB?= =?UTF-8?q?=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dislocker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dislocker.py b/dislocker.py index 46119a8..d6ec071 100644 --- a/dislocker.py +++ b/dislocker.py @@ -574,7 +574,7 @@ class Bot(discord.Client): device_register_view = View(timeout=15) pc_number = custom_id_split[1] print(custom_id_split) - for i in range(1, 20): + 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)