Filter for Message Collector is not working
I'm trying to collect messages that contains at least one attachments, the problem is that the collector return every messages sent even if they have attachments or not ._.
6 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Every filter needs to be called
filter
? 🤔You don't understand basics of JavaScript. The options should take the filler with key
filter
{ filter: filter }
and { filter }
do the same thing.So i need to do
{ filter: filterMessage }
?Yes
Oh okay that's logic now (i didn't knew about this thx)