aiko-chan-ai / discord.js-selfbot-v13

An unofficial discord.js fork for creating selfbots

Home Page:https://discordjs-self-v13.netlify.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

client.acceptInvite bypassVerify not working

togarAragot opened this issue · comments

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.