diff --git a/src/structure/components/settings/moderation/WordWatcher.js b/src/structure/components/settings/moderation/WordWatcher.js index b77406e..cba7689 100644 --- a/src/structure/components/settings/moderation/WordWatcher.js +++ b/src/structure/components/settings/moderation/WordWatcher.js @@ -59,7 +59,7 @@ class WordWatcher extends FilterSetting { if (method && list) { - if (list.value === 'actions') return this._action(interaction, method.value, setting[list.value]); + if (list.value === 'actions') return this._action(interaction, method.value, setting[list.value], { _wordWatcher: true }); else if (method.value === 'list') return { error: false, message: setting[list.value].join(', ') }; const { guild } = interaction; @@ -91,6 +91,12 @@ class WordWatcher extends FilterSetting { } + _createTrigger(interaction, action, actionObject, actions) { + + actionObject.trigger = actionObject.type; + + } + fields(guild) { const setting = guild._settings[this.name]; @@ -107,6 +113,7 @@ class WordWatcher extends FilterSetting { value: setting.channel ? `<#${setting.channel}>` : '`N/A`', inline: true }, + { name: '\u200b', value: '\u200b', inline: true }, { name: 'GENERAL_IGNORED', value: setting.ignore.map((channel) => `<#${channel}>`).join(', ') || '`N/A`',