question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

presenceUpdate not working when a user has started streaming.

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

14reactions
Shompicommented, Jun 13, 2020

Could it be that you don’t have the Presence Intent allowed in your bot? Check it in discord.com developers page -> Bot

0reactions
RedTncommented, Dec 20, 2020

is this still an issue? i turned on intents and theres no event fired for streams, but seems to fire an event when a user starts playing a game

Read more comments on GitHub >

github_iconTop Results From Across the Web

Discord.js Bot : presenceUpdate not working for stream (on ...
I'm developing a Discord bot with discord.js and I want it to display a message when a member starts a stream (on Discord...
Read more >
[Solved]-Not receiving Presence update events-discord.js
Try to use it this way, if an error occurs, show the code that is pulling the member's activity. Squiford 37. score:0. Turns...
Read more >
Updating from v12 to v13 - discord.js Guide
To check your Node version, use node -v in your terminal or command prompt, and if it's not high enough, update it! There...
Read more >
Digital Presence Update from Pastor David & Micah ... - Facebook
51 views, 1 likes, 0 loves, 0 comments, 0 shares, Facebook Watch Videos from First United Methodist Church of Winter Park: Digital Presence...
Read more >
Problem with presenceUpdate : r/Discordjs - Reddit
This code checks when a person comes online, and if the person comes online and has the status is "Online" it will send...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found