migrator fix

This commit is contained in:
Erik 2022-07-25 01:14:48 +03:00
parent 862ef6879a
commit 10aa85f149
Signed by: Navy.gif
GPG Key ID: 811EC0CD80E7E5FB

View File

@ -335,7 +335,10 @@ class SettingsMigrator {
if (autorole) settings.autorole = autorole; if (autorole) settings.autorole = autorole;
if (prefix) settings.prefix = prefix; 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 }, // indexing: {enabled: false, description: result.desc },