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: