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
- 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 OPa message collector is nothing else than a client.on('messageCreate') really
they would both fire
so basically a premade listener with filters
I suppose
thanks