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