From 1addabc404f583bd69aaf70566421868f091cc1a Mon Sep 17 00:00:00 2001 From: haskal Date: Fri, 4 Dec 2020 00:27:17 -0500 Subject: [PATCH] detect rate limiting in aoc-lib.rkt --- scripts/aoc-lib.rkt | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/aoc-lib.rkt b/scripts/aoc-lib.rkt index 27482d6..5e52c4e 100644 --- a/scripts/aoc-lib.rkt +++ b/scripts/aoc-lib.rkt @@ -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]