diff --git a/src/utilities/SettingsMigrator.js b/src/utilities/SettingsMigrator.js index 417d7a0..12676ef 100644 --- a/src/utilities/SettingsMigrator.js +++ b/src/utilities/SettingsMigrator.js @@ -335,7 +335,10 @@ class SettingsMigrator { if (autorole) settings.autorole = autorole; if (prefix) settings.prefix = prefix; - if(welcomer) settings.welcomer = welcomer; + if (welcomer) { + settings.welcomer.enabled = welcomer.enabled; + settings.welcomer.message = welcomer.message || null; + } // indexing: {enabled: false, description: result.desc },