forked from Galactic/galactic-bot
comment
This commit is contained in:
parent
5a2cf70479
commit
6dc12e77c1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user