I trying to use presenceUpdate:
client.on('presenceUpdate', (oldMember, newMember) => {
console.log(oldMember);
console.log(newMember);
});
It's working good with Spotify and I can see that it triggered when someone is playing, and i see status CUSTOM_STATUS but when I start streaming on Twitch (Turning on OBS), status changed on Discord, but event presenceUpdate not working, can it be a bug?
Discord.js version: 12.2.0
Discord.js seems to always emit presenceUpdate events recieved through the gateway, so if it does not emit for something, it probably isn't recieved from Discord.
I'm also running into this - the activity array lists custom status and game currently being played but doesn't record streaming (whether it be Discord streaming or some other service like Twitch)
Could it be that you don't have the Presence Intent allowed in your bot? Check it in discord.com developers page -> Bot
Closing as it is a stale issue, reopen or check open issues if this is still an issue.
Most helpful comment
Could it be that you don't have the Presence Intent allowed in your bot? Check it in discord.com developers page -> Bot