diff --git a/src/structure/interfaces/Setting.js b/src/structure/interfaces/Setting.js index e442d64..3a195ac 100644 --- a/src/structure/interfaces/Setting.js +++ b/src/structure/interfaces/Setting.js @@ -66,6 +66,7 @@ class Setting extends Component { */ async collector(wrapper, selectMenu) { + // onCollect must return a function that takes an interaction and implemented in the setting class if (!this.onCollect) throw new Error(`Setting ${this.name} is missing onCollect()`); const { channel, message, guild } = wrapper;