what happens to the "main listener" when using a message collector?

suppose i use a client.on('messageCreate', ...) (eg. for collecting DMs) and a messageCollector.on('collect', ...) on a channel simultaneously would the same message appear on both listeners? or would it only appear on the "most restrictive listener" (ie. the channel msg collector) or some other rule?
5 Replies
d.js toolkit
d.js toolkit3w ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - Marked as resolved by OP
chewie
chewie3w ago
a message collector is nothing else than a client.on('messageCreate') really they would both fire
Nutchapol
NutchapolOP3w ago
so basically a premade listener with filters
chewie
chewie3w ago
I suppose
Nutchapol
NutchapolOP3w ago
thanks
Want results from more Discord servers?
Add your server