From 18970c9079b83cda45901237dff6f4bcb48fb81d Mon Sep 17 00:00:00 2001 From: suti7yk5032 Date: Sun, 7 Jul 2024 16:08:17 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=A1=E3=83=83=E3=82=BB=E3=83=BC=E3=82=B8?= =?UTF-8?q?=E3=81=AE=E6=96=87=E8=A8=80=E3=82=92=E5=A4=89=E6=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dislocker.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dislocker.py b/dislocker.py index 55f7cf1..b3ff8d0 100644 --- a/dislocker.py +++ b/dislocker.py @@ -232,7 +232,7 @@ class Bot(discord.Client): return result async def on_ready(self): - print("ログイン成功") + print("DiscordのBotが起動しました。") async def on_message(self, message): if message.author.bot: @@ -266,7 +266,7 @@ class Bot(discord.Client): elif register["result"] == "pc_already_in_use_by_you": await message.channel.send(f"あなたはPCをもう使用されているようです。使用状態を解除するには /stop で使用終了をお知らせください。\nPC番号 | {register["pc_number"]}\nデバイス番号 | {register["device_number"]}\n使用開始時刻 | {register["start_time"]}\n使用目的 | {register["detail"]}") elif register["result"] == "pc_already_in_use_by_other": - await message.channel.send(f"PCはもう使用されています。別のPC番号を指定して、再度お試しください。") + await message.channel.send(f"そのPCは他のメンバーによって使用されています。別のPC番号を指定して、再度お試しください。") else: await message.channel.send("番号がおかしいようです。") else: