You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(response.Contains("That's the right answer!")||response.Contains("You don't seem to be solving the right level. Did you already complete it?")){return"True";}
84
+
elseif(response.Contains("You gave an answer too recently")||response.Contains("before trying again"))
85
85
{
86
-
varregex=newRegex(@"<p>Your puzzle answer was <code>(?<answer>.*?)</code>.*?</p>");
boolsucceeded=client.SubmitAnswer(intpart, objectanswer); // submits answer to initialized year and day, returns true if answer is correct
71
+
stringstatus=client.SubmitAnswer(intpart, objectanswer); // submits answer to initialized year and day, returns "True" or "False" or "on cooldown: {cooldown}"
0 commit comments