diff --git a/src/structure/components/settings/moderation/WordFilter.js b/src/structure/components/settings/moderation/WordFilter.js index 5ba066c..26c49f2 100644 --- a/src/structure/components/settings/moderation/WordFilter.js +++ b/src/structure/components/settings/moderation/WordFilter.js @@ -135,8 +135,9 @@ class WordFilterSetting extends FilterSetting { } if (params.length && invalid.length) index += '_SOME'; } else if (list === 'presets') { - for (const word of words) { - if (FilterPresets.regex[word]) params.push(FilterPresets.regex[word]); + for (let word of words) { + word = word.toLowerCase(); + if (FilterPresets.regex[word]) params.push(...FilterPresets.regex[word]); else invalid.push(word); } list = 'regex';