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

6 messages · Page 1 of 1 (latest)

nocturne needle
#

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?

vast graniteBOT
#
  • What's your exact discord.js npm list discord.js and node node -v version?
  • Not a discord.js issue? Check out #1081585952654360687.
  • 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
pallid kayak
#

they would both fire

nocturne needle
#

so basically a premade listener with filters

pallid kayak
#

I suppose