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

client.acceptInvite bypassVerify not working #1097

Open
3 tasks done
togarAragot opened this issue Mar 13, 2024 · 0 comments
Open
3 tasks done

client.acceptInvite bypassVerify not working #1097

togarAragot opened this issue Mar 13, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@togarAragot
Copy link

Which package has the bugs?

The core library

Issue description

Well login to a client, wait till done. Then acceptInvite with bypassVerify being true, see code sample for more.

The error I'm getting:

Couldnt join a server TypeError: Cannot convert undefined or null to object
    at Function.assign (<anonymous>)
    at Client.acceptInvite (C:\Users\luiss\Desktop\Roblox Dev\AraCord\node_modules\discord.js-selfbot-v13\src\client\Client.js:608:31)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Code sample

this.client.acceptInvite(server.inviteCode, {bypassOnboarding: true, bypassVerify: true})
            .then(async (guild) => {
                console.log(this.client.user.username + ': Successfully joined Server ' + guild.name);
            })
            .catch((result) => console.log('Couldnt join a server', result));

Package version

3.1.4

Node.js version

v20.11.1

Operating system

Windows

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

I dont know if this happens on all servers but it definitely occured on this server; discord.gg/cosmicvalues
Maybe it's because they have an empty form? I dont know, would appreciate any help.

@togarAragot togarAragot added the bug Something isn't working label Mar 13, 2024
@aiko-chan-ai aiko-chan-ai self-assigned this Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants