#presenceUpdate event emitter doesn't return activity channelId

3 messages · Page 1 of 1 (latest)

meager vale
#

I'm using the presenceUpdate event to detect when an activity has been started. But I need to get the channel the activity has been started in (more specifically the channel Id), what can I do to get this?

Because the emitter doesn't emit any details about the channel the activity is being hosted in.

rare tartanBOT
#
  • What's your exact discord.js npm list discord.js and node node -v version?
  • Post the full error stack trace, not just the top part!
  • Show your code!
  • Explain what exactly your issue is.
  • Not a discord.js issue? Check out #useful-servers.
  • Issue solved? Press the button!
toxic delta
#

You can access that info through presence -> member -> voice -> channelId