From a2c7fd6f052f262d7cd90038acd2801e1953649d Mon Sep 17 00:00:00 2001 From: suti7yk5032 Date: Tue, 1 Oct 2024 12:07:42 +0900 Subject: [PATCH] =?UTF-8?q?PC=E3=81=AE=E3=83=8B=E3=83=83=E3=82=AF=E3=83=8D?= =?UTF-8?q?=E3=83=BC=E3=83=A0=E8=A8=AD=E5=AE=9A=E6=99=82=E3=81=AB=E3=83=AD?= =?UTF-8?q?=E3=82=B0=E3=81=AB=E3=83=8B=E3=83=83=E3=82=AF=E3=83=8D=E3=83=BC?= =?UTF-8?q?=E3=83=A0=E3=81=8C=E5=87=BA=E3=81=AA=E3=81=84=E5=95=8F=E9=A1=8C?= =?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 8339cd2..2316f13 100644 --- a/dislocker.py +++ b/dislocker.py @@ -1622,7 +1622,7 @@ async def pcnickname(interaction: discord.Interaction, pc_number: int, nickname: pc_nickname_set = dislocker.set_pc_nickname(pc_number=pc_number, alt_name=nickname) if pc_nickname_set["result"] == 0: result_embed = discord.Embed(title=":white_check_mark: 操作が完了しました。", description=f'PC番号 {str(pc_number)} のニックネームは {str(nickname)} に設定されました。', color=0x56FF01) - await send_log(mode="pcnickname", pc_number=pc_number, discord_user_id=interaction.user.id, detail=nickname) + await send_log(mode="pcnickname", pc_number=pc_number, discord_user_id=interaction.user.id, alt_name=nickname) else: result_embed = discord.Embed(title=":x: 操作に失敗しました。", description=f'サーバーでエラーが発生しています。ニックネームは変更されません。', color=0xC91111)