presenceUpdate event emitter doesn't return activity channelId
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.3 Replies
- 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!You can access that info through presence -> member -> voice -> channelId
Ah gotcha, thank you very much.