detect rate limiting in aoc-lib.rkt
This commit is contained in:
parent
9ec26f97f3
commit
1addabc404
|
@ -68,6 +68,7 @@
|
||||||
(aoc-set-complete! day part)
|
(aoc-set-complete! day part)
|
||||||
'answer-correct]
|
'answer-correct]
|
||||||
[(pregexp #px"That's not the right answer") 'answer-incorrect]
|
[(pregexp #px"That's not the right answer") 'answer-incorrect]
|
||||||
|
[(pregexp #px"You gave an answer too recently") 'rate-limited]
|
||||||
[(pregexp #px"Did you already complete it?")
|
[(pregexp #px"Did you already complete it?")
|
||||||
(aoc-set-complete! day part)
|
(aoc-set-complete! day part)
|
||||||
'already-completed]
|
'already-completed]
|
||||||
|
|
Loading…
Reference in New Issue