Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

presenceUpdate doesn't work unless you are a friend with a bot #195

Closed
3 tasks done
kostek001 opened this issue Jul 9, 2022 · 1 comment
Closed
3 tasks done

presenceUpdate doesn't work unless you are a friend with a bot #195

kostek001 opened this issue Jul 9, 2022 · 1 comment
Labels
bug Something isn't working wontfix This will not be worked on

Comments

@kostek001
Copy link

Which package has the bugs?

The core library

Issue description

event presenceUpdate only works when you are a friend with a bot
Link to video:
https://youtu.be/MSkMWBFdLDI

Code sample

const { Client } = require('discord.js-selfbot-v13');
require('dotenv').config();

const bot = new Client({
    checkUpdate: false,
});

const TOKEN = process.env.TOKEN;
bot.login(TOKEN);

bot.once('ready', () => {
    console.log(`Logged in as ${bot.user.tag}!\n`);
    bot.user.setStatus('online');
});

bot.on('presenceUpdate', (oldMember, newMember) => {
    console.log("test");  // <- this line does not execute when I change status
});

Package version

[email protected]

Node.js version

v16.15.1

Operating system

Arch linux

Priority this issue should have

Medium (should be fixed soon)

Checklist

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

Additional Information

No response

@kostek001 kostek001 added the bug Something isn't working label Jul 9, 2022
@aiko-chan-ai
Copy link
Owner

As I said in #197, this is limited by the discord API. Read it to know how to fix it

@aiko-chan-ai aiko-chan-ai added the wontfix This will not be worked on label Jul 10, 2022
@aiko-chan-ai aiko-chan-ai closed this as not planned Won't fix, can't repro, duplicate, stale Jul 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants