From e3d0e2ae24e6801723a5ed5a23553bc50a2ca8e5 Mon Sep 17 00:00:00 2001 From: suti7yk5032 Date: Tue, 1 Oct 2024 12:14:08 +0900 Subject: [PATCH] =?UTF-8?q?fstop=E3=81=AE=E3=81=A8=E3=81=8D=E3=81=AB?= =?UTF-8?q?=E3=83=AD=E3=82=B0=E3=81=AB=E7=90=86=E7=94=B1=E3=81=8C=E8=A1=A8?= =?UTF-8?q?=E7=A4=BA=E3=81=95=E3=82=8C=E3=81=AA=E3=81=84=E3=83=90=E3=82=B0?= =?UTF-8?q?=E3=82=92=E4=BF=AE=E6=AD=A3?= 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 2c098de..eecff32 100644 --- a/dislocker.py +++ b/dislocker.py @@ -1507,7 +1507,7 @@ async def fstop(interaction: discord.Interaction, pc_number: int, reason: str): if force_stop["result"] == 0: result_embed = discord.Embed(title=":white_check_mark: 処理が完了しました。", description=f'PC番号 {str(pc_number)} 番の使用登録は抹消されました。', color=0x56FF01) dislocker.log(title=f"[INFO] PC {pc_number} の使用を強制終了しました。", message=f"理由 | {reason}", flag=0) - await send_log(mode="fstop", pc_number=pc_number, discord_user_id=interaction.user.id, detail=reason) + await send_log(mode="fstop", pc_number=pc_number, discord_user_id=interaction.user.id, reason=reason) elif force_stop["result"] == 1: if force_stop["about"] == "not_used": result_embed = discord.Embed(title=":x: 操作に失敗しました。", description=f'指定されたPCは使用されていないようです...', color=0xC91111)