Replies: 1 comment
-
this took some looking at the source code and the AddBot.js example to figure out tbh. idk if it works because I don't have capmonster or a sb to test it with const { HCaptchaTask } = require("node-capmonster");
const { Client } = require("discord.js-selfbot-v13");
const capmonster = new HCaptchaTask("<api_token>");
const client = new Client({
captchaSolver: async function (captcha, ua) {
const task = capmonster.task({
websiteKey: captcha.captcha_sitekey,
websiteURL: "discord.com",
isInvisible: true,
data: captcha.captcha_rqdata,
});
capmonster.setUserAgent(ua);
const id = await capmonster.createWithTask(task);
const res = await capmonster.joinTaskResult(id);
return res.gRecaptchaResponse;
},
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
is there anyway I can use capmonster as capsolver?
Beta Was this translation helpful? Give feedback.
All reactions