how to pass solved captcha code and id #775
              
                Unanswered
              
          
                  
                    
                      hippo2point0
                    
                  
                
                  asked this question in
                Help
              
            Replies: 1 comment
-
| 
         Did you find a solution that you could share with us?  | 
  
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.
-
on sending dms and encountering an hcaptcha ive managed to send the captcha request to 2captcha with the twocaptcha python library and receive the solved code and id. my question is how can i pass these back through the api to resend the dm.
try:await message.author.send('hi')print('\n***DM sent successfully***\n')except Exception as e: # this is the captcha exceptionprint('Captcha required, solving...')#this solver object is the twocaptcha solverresult = solver.hcaptcha(sitekey=SITEKEY, url='https://discord.com')captcha_id = result['captchaId']hcaptcha_code = result['code']await message.author.send('hi') # how can i send thisBeta Was this translation helpful? Give feedback.
All reactions