Comments (22)
Error image
from discord.js-selfbot-v13.
You can just set an interval for a long time.
setInterval(() => false, 1 << 12);
If you don't like that, start an HTTP server on a random unused port.
Neither of these should be used in production, for obvious reasons.
I don't see why you would want to keep the terminal open in the first place, but this should work for now.
from discord.js-selfbot-v13.
You can just set an interval for a long time.
setInterval(() => false, 1 << 12);If you don't like that, start an HTTP server on a random unused port.
Neither of these should be used in production, for obvious reasons. I don't see why you would want to keep the terminal open in the first place, but this should work for now.
Where should I use this function? The reason I don't want the console to remain open is that I am performing account verification. When such a problem arises, the console closes, and the process does not continue to other accounts, leaving the operation incomplete.
from discord.js-selfbot-v13.
client.on('error', () => false)
from discord.js-selfbot-v13.
client.on('error', () => false)
Where should I use this?
from discord.js-selfbot-v13.
client.on('ready', async () => {
await client.destroy()
}).on('error', () => false)```
from discord.js-selfbot-v13.
client.on('ready', async () => { await client.destroy() }).on('error', () => false)```
unfortunately it didn't happen :(
from discord.js-selfbot-v13.
edit from
const login = await client.login(token)
const username = client.user.username
client.on('ready', async () => {
await client.destroy()
})
to
client.on('ready', async () => {
await client.destroy()
}).on('error', () => false)
const login = await client.login(token)
const username = client.user.username
from discord.js-selfbot-v13.
edit from
const login = await client.login(token) const username = client.user.username client.on('ready', async () => { await client.destroy() })to
client.on('ready', async () => { await client.destroy() }).on('error', () => false) const login = await client.login(token) const username = client.user.username
It happened like this, but even when it encounters account verification during login, I don't receive an error stating that the account is inactive because it logs into the account. How can I solve this issue?
from discord.js-selfbot-v13.
Except for the issue mentioned above, I'm experiencing the error in the image. What could be the problem?
HTTPError [DiscordjsError]: Request to use token, but token was unavailable to the client.
from discord.js-selfbot-v13.
edit from
const login = await client.login(token) const username = client.user.username client.on('ready', async () => { await client.destroy() })to
client.on('ready', async () => { await client.destroy() }).on('error', () => false) const login = await client.login(token) const username = client.user.username
I wonder what might be causing this error; I'm getting this error during the server joining process. The account is active. I can directly log into the server via the Discord application. I would be very grateful if you could help
from discord.js-selfbot-v13.
try updating to v3
from discord.js-selfbot-v13.
try updating to v3
I don't understand
from discord.js-selfbot-v13.
const Discord = require('discord.js-selfbot-v13'); // v3.0.0
const Captcha = require('2captcha');
const solver = new Captcha.Solver('key');
const client = new Discord.Client({
captchaSolver: function (captcha, UA) {
return solver
.hcaptcha(captcha.captcha_sitekey, 'discord.com', {
invisible: 1,
userAgent: UA,
data: captcha.captcha_rqdata,
})
.then((res) => res.data);
},
});
client.on('ready', async () => {
console.log('Ready!', client.user.tag);
client.acceptInvite('mdmc');
});
client.login('token');
from discord.js-selfbot-v13.
const Discord = require('discord.js-selfbot-v13'); // v3.0.0 const Captcha = require('2captcha'); const solver = new Captcha.Solver('key'); const client = new Discord.Client({ captchaSolver: function (captcha, UA) { return solver .hcaptcha(captcha.captcha_sitekey, 'discord.com', { invisible: 1, userAgent: UA, data: captcha.captcha_rqdata, }) .then((res) => res.data); }, }); client.on('ready', async () => { console.log('Ready!', client.user.tag); client.acceptInvite('mdmc'); }); client.login('token');
Thank you, I will try it, I would be very grateful if you could help me with the following problem.
from discord.js-selfbot-v13.
captchaSolver: function (captcha, UA) { return solver .hcaptcha(captcha.captcha_sitekey, 'discord.com', { invisible: 1, userAgent: UA, data: captcha.captcha_rqdata, }) .then((res) => res.data); },
How can I use this method with capmonster?
from discord.js-selfbot-v13.
Which library do you want to use?
from discord.js-selfbot-v13.
node-capmonster
from discord.js-selfbot-v13.
const { HCaptchaTask } = require('node-capmonster');
const solver = new HCaptchaTask('api_key');
const client = new Discord.Client({
captchaSolver: function (captcha, UA) {
const task = solver.task({
websiteKey: captcha.captcha_sitekey,
websiteURL: 'discord.com',
isInvisible: true,
data: captcha.captcha_rqdata,
});
return solver
.createWithTask(task)
.then((taskId) => solver.joinTaskResult(taskId))
.then((response) => response.gRecaptchaResponse);
},
});
from discord.js-selfbot-v13.
const { HCaptchaTask } = require('node-capmonster'); const solver = new HCaptchaTask('api_key'); const client = new Discord.Client({ captchaSolver: function (captcha, UA) { const task = solver.task({ websiteKey: captcha.captcha_sitekey, websiteURL: 'discord.com', isInvisible: true, data: captcha.captcha_rqdata, }); return solver .createWithTask(task) .then((taskId) => solver.joinTaskResult(taskId)) .then((response) => response.gRecaptchaResponse); }, });
I get this error
from discord.js-selfbot-v13.
How can I solve the above problem?
const { HCaptchaTask } = require('node-capmonster'); const solver = new HCaptchaTask('api_key'); const client = new Discord.Client({ captchaSolver: function (captcha, UA) { const task = solver.task({ websiteKey: captcha.captcha_sitekey, websiteURL: 'discord.com', isInvisible: true, data: captcha.captcha_rqdata, }); return solver .createWithTask(task) .then((taskId) => solver.joinTaskResult(taskId)) .then((response) => response.gRecaptchaResponse); }, });
How can I solve the above problem?
from discord.js-selfbot-v13.
maybe capmonster requires full URL, try with https://discord.com
from discord.js-selfbot-v13.
Related Issues (20)
- Captcha resolve throw error: DiscordAPIError: sitekey-secret-mismatch HOT 2
- Webembed working error HOT 4
- Unknown Message HOT 7
- client.settings is returning undefined. HOT 3
- Edit guild settings HOT 2
- Member Screening Verification HOT 5
- Remove discord.js support header from README / discussing recent scams HOT 1
- .reply and .sendSlash not working HOT 2
- .banner, .bannerURL() not working HOT 2
- Modal Not working for me HOT 9
- Join guild member verification TypeError HOT 1
- AFK not working HOT 8
- Send and sendSlash didn't work HOT 4
- How do I handle error from Application Command
- Proxy not work HOT 15
- Getting "Unknown Message" on latest version HOT 6
- TOKEN KEEP CHANGING HOT 2
- Captch solver is not working HOT 3
- GuildBoost HOT 1
- Connection has been established successfully.Status: inactive ver. 3.0.2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from discord.js-selfbot-v13.