From cb5fca0cf969595a6dbc210fe13a78e5d0223217 Mon Sep 17 00:00:00 2001 From: NfoAlex <40430040+NfoAlex@users.noreply.github.com> Date: Fri, 9 Jun 2023 19:50:06 +0900 Subject: [PATCH] =?UTF-8?q?[add]=20-=20=E3=82=B5=E3=83=BC=E3=83=90?= =?UTF-8?q?=E3=83=BC=E8=A8=AD=E5=AE=9A=E3=82=92=E5=A4=89=E3=81=88=E3=81=9F?= =?UTF-8?q?=E3=81=A8=E3=81=8D=E3=81=AB=E7=9B=A3=E6=9F=BB=E8=A8=98=E9=8C=B2?= =?UTF-8?q?=E3=82=92=E3=81=99=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- infoUpdate.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/infoUpdate.js b/infoUpdate.js index dc65647..1233bf2 100644 --- a/infoUpdate.js +++ b/infoUpdate.js @@ -216,6 +216,22 @@ let changeServerSettings = function changeServerSettings(dat) { //設定更新 db.dataServer.registration = dat.registration; + //監査ログへの記録処理 + recordModeration( + dat.reqSender.userid, + { + type: "server", + userid: "", + channelid: "", + messageid: "" + }, + { + actionname: "serverEditConfig", + valueBefore: "", + valueAfter: "" + } + ); + fs.writeFileSync("./server.json", JSON.stringify(db.dataServer, null, 4)); }