detect rate limiting in aoc-lib.rkt

This commit is contained in:
xenia 2020-12-04 00:27:17 -05:00
parent 9ec26f97f3
commit 1addabc404
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@
(aoc-set-complete! day part)
'answer-correct]
[(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?")
(aoc-set-complete! day part)
'already-completed]