From 0ac8ecddac13a29ef5e662311b0072cf0cc4f2ee Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Mon, 10 Jul 2023 21:15:02 +0500 Subject: [PATCH] ah --- dashboard/settings.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dashboard/settings.js b/dashboard/settings.js index d4c210b9..c7515918 100644 --- a/dashboard/settings.js +++ b/dashboard/settings.js @@ -376,6 +376,8 @@ module.exports = client => [ id: guild.id, }); + if (guildData.plugins.monitoring === undefined) guildData.plugins.monitoring = {}; + guildData.plugins.monitoring.messageUpdate = newData !== "" ? newData : null; guildData.markModified("plugins.monitoring"); await guildData.save();