Giter Site home page Giter Site logo

Comments (10)

aiko-chan-ai avatar aiko-chan-ai commented on August 19, 2024

Hi!

I was wondering if you could tell me how can i join a guild. I have read the risky things on the readme page but the joinGuild() function is not declared.

Thanks

Can you give me more information about the version, the code you use,...

from discord.js-selfbot-v13.

aSashaaa avatar aSashaaa commented on August 19, 2024

Yeah sure.
I am using the latest version of your module (discord.js-selfbot-v13) and i was trying to join a discord server with sending post requests to the api since there is no function implemented for this.

const joinGuild = async (inviteCode, token) => {
        const browser = await puppeteer.launch({ headless: false });
        const page = await browser.newPage();
        await page.goto('https://discord.com/login');

        await page.evaluate(({inviteCode, token}) => {
            const x = new XMLHttpRequest();
            console.log(inviteCode);
            x.open('POST', `https://discord.com/api/v8/invites/${inviteCode}?inputValue=${inviteCode}&with_counts=true&with_expiration=true`);
            x.setRequestHeader('Authorization', token);
            x.send();
        },{inviteCode, token});

        console.log("joined server.");
        //Maybe good idea to close browser after executing
    };

I tried this code but it seems not working.

from discord.js-selfbot-v13.

aiko-chan-ai avatar aiko-chan-ai commented on August 19, 2024

Yeah sure. I am using the latest version of your module (discord.js-selfbot-v13) and i was trying to join a discord server with sending post requests to the api since there is no function implemented for this.

const joinGuild = async (inviteCode, token) => {
        const browser = await puppeteer.launch({ headless: false });
        const page = await browser.newPage();
        await page.goto('https://discord.com/login');

        await page.evaluate(({inviteCode, token}) => {
            const x = new XMLHttpRequest();
            console.log(inviteCode);
            x.open('POST', `https://discord.com/api/v8/invites/${inviteCode}?inputValue=${inviteCode}&with_counts=true&with_expiration=true`);
            x.setRequestHeader('Authorization', token);
            x.send();
        },{inviteCode, token});

        console.log("joined server.");
        //Maybe good idea to close browser after executing
    };

I tried this code but it seems not working.

https://github.com/aiko-chan-ai/discord.js-selfbot-v13/blob/main/Document/Guild.md#join-guild-using-invite

i think i already made this function

from discord.js-selfbot-v13.

aiko-chan-ai avatar aiko-chan-ai commented on August 19, 2024
const joinGuild = async (inviteCode, client) => {
await client.fetchInvite(inviteCode).then(async invite => {
  await invite.acceptInvite(true); 
});
};

from discord.js-selfbot-v13.

aSashaaa avatar aSashaaa commented on August 19, 2024

DiscordAPIError: You need to update your app to join this server.

I implemented the above sent function.
it replies with this.

from discord.js-selfbot-v13.

aiko-chan-ai avatar aiko-chan-ai commented on August 19, 2024

DiscordAPIError: You need to update your app to join this server.

it replies with this.

so you got hcaptcha, sorry i don't have a way to ignore it

from discord.js-selfbot-v13.

aSashaaa avatar aSashaaa commented on August 19, 2024

So i have to solve the captcha?

from discord.js-selfbot-v13.

aiko-chan-ai avatar aiko-chan-ai commented on August 19, 2024

So i have to solve the captcha?

yes, i was thinking how to solve the captcha by getting data about the image, then using an AI website that can analyze the photo, then check the correct result. It's a script I'm using to bypass hcaptcha although it's a bit slow.

from discord.js-selfbot-v13.

aSashaaa avatar aSashaaa commented on August 19, 2024

i see. is that script can solve this captcha?
If yes, then could you send it to me? It doesnt matter if its a bit slow.

from discord.js-selfbot-v13.

aiko-chan-ai avatar aiko-chan-ai commented on August 19, 2024

i see. is that script can solve this captcha? If yes, then could you send it to me? It doesnt matter if its a bit slow.

here is the script on chrome, you can have a look at it
https://greasyfork.org/en/scripts/425854-hcaptcha-solver-with-browser-trainer-automatically-solves-hcaptcha-in-browser

https://www.reddit.com/r/Discord_selfbots/comments/tq6g2v/captcha_bypass_new_captcha_keys_question/

from discord.js-selfbot-v13.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.