How to add basically any captcha solver package you can find #1428
TheDevYellowy
started this conversation in
Show and tell
Replies: 2 comments
-
I should have provided a more detailed guide and specific examples ;_; |
Beta Was this translation helpful? Give feedback.
0 replies
-
Well now you have a detailed guide 🫡 |
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
-
I recently answered xczur3k's question #1427 about how to implement capmonster and decided to go through the source code to write up this "quick" tutorial so you didn't have to
I knew that the captcha solver function was called on the following line
discord.js-selfbot-v13/src/rest/RequestHandler.js
Line 375 in c1f6f5e
as we can see it can be an async function which was needed for the first capmonster package I saw via a quick google search. Then I copied the same options from the AddBot.js example as I could guessing that "invisible: 1" was true
discord.js-selfbot-v13/examples/AddBot.js
Lines 10 to 15 in c1f6f5e
in the AddBot.js example we see that at the very end it returns res.data
discord.js-selfbot-v13/examples/AddBot.js
Line 16 in c1f6f5e
this is just a string with the solution that is defined here, so the only thing you need to return in your client.captchaSolver function is a string that contains the solution from your captcha solving provider like the following code
Beta Was this translation helpful? Give feedback.
All reactions