This commit is contained in:
Jonny_Bro (Nikita) 2023-07-10 21:15:02 +05:00
parent 02e31e8d9a
commit 0ac8ecddac

View file

@ -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();