discord.js-selfbot-v13
discord.js-selfbot-v13 copied to clipboard
Presence updates not received for implicit relationships
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:
- Join a test server
- Do not be friends with the account you're listening status events on
- Start the bot, use the code below
- Change the alt's (not the bot account) status to idle/online
- No changes
- Comment out that code in your node_modules or from source
- 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