From e6af66678aafd3d159c362439e25879edc2a01b5 Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Fri, 29 Apr 2022 20:09:34 +0300 Subject: [PATCH] editTrigger error when not implemented --- src/structure/interfaces/FilterSetting.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/structure/interfaces/FilterSetting.js b/src/structure/interfaces/FilterSetting.js index 8f87ec8..0d5d8f7 100644 --- a/src/structure/interfaces/FilterSetting.js +++ b/src/structure/interfaces/FilterSetting.js @@ -246,6 +246,10 @@ class FilterSetting extends Setting { } + _editTrigger() { + return { error: true, index: 'SETTING_FILTER_MISSING_TRIGGER_EDIT', params: { setting: this.name } }; + } + async _editExpiration(interaction, actions, action) { if (!interaction.guild._settings.modpoints?.enabled) return {