discord.js-selfbot-v13 icon indicating copy to clipboard operation
discord.js-selfbot-v13 copied to clipboard

Presence updates not received for implicit relationships

Open UltimateGG opened this issue 5 months ago • 0 comments

Which package has the bugs?

The core library

Issue description

In the READY event handler, the GUILD_SUBSCRIPTIONS_BULK seems to have the opposite effect as indented.

If you are not friends with a user, you can still normally get presenceUpdate's. However, on this client it does not get them. Commenting out the send for GUILD_SUBSCRIPTIONS_BULK in the READY event handler, you will see the events.

Reproduce:

  1. Join a test server
  2. Do not be friends with the account you're listening status events on
  3. Start the bot, use the code below
  4. Change the alt's (not the bot account) status to idle/online
  5. No changes
  6. Comment out that code in your node_modules or from source
  7. Rerun above steps, youll see status updates

I am not sure what affects disabling this entirely would have, but for my use case its preventing it from working, so a flag would be nice. My guess is that the members: [] is having this affect.

Code sample

spyClient.on('presenceUpdate', (oldPresence, newPresence) => {
  console.log(oldPresence, newPresence);
});

Package version

3.6.1

Node.js version

20.11.0

Operating system

Windows

Priority this issue should have

Medium (should be fixed soon)

Checklist

  • [x] I have searched the open issues for duplicates.
  • [x] I have shared the entire traceback.
  • [x] I am using a user token (and it isn't visible in the code).

Additional Information

No response

UltimateGG avatar Jun 06 '25 02:06 UltimateGG