Find hcaptcha callback function

#1
I'm trying to solve hcaptcha nd I am able to get the key, however I cannot submit the button as it is invisible. I've looked at the javascript of the website but it's highly obfuscated and I cannot seem to find the callback to execute my h-captcha-response data. I've tried many things, such as creating a new widget and using hcaptcha.execute("widget_id") and tried creating my own submit button, but I've had no luck. Has anyone figured out how to submit the callback of invisible hcaptchas?

The website I'm trying to find the callback function for is https://discord.com/register