Closed aSashaaa closed 2 years ago
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,...
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.
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.
i think i already made this function
const joinGuild = async (inviteCode, client) => {
await client.fetchInvite(inviteCode).then(async invite => {
await invite.acceptInvite(true);
});
};
DiscordAPIError: You need to update your app to join this server.
I implemented the above sent function. it replies with this.
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
So i have to solve the captcha?
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.
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.
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/
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