From 328f11f71a2bf0a2dea5f23065abb4514e5f7661 Mon Sep 17 00:00:00 2001 From: Bradley Reynolds Date: Wed, 23 Aug 2023 06:24:04 -0500 Subject: holidayreact: add alternate spellings to February (#1214) * holidayreact: add alternate spellings to february * Simplify valentine heart regex Co-authored-by: Preocts Co-authored-by: Preocts --- bot/exts/holidays/holidayreact.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot/exts/holidays/holidayreact.py') diff --git a/bot/exts/holidays/holidayreact.py b/bot/exts/holidays/holidayreact.py index c3686fab..306cde53 100644 --- a/bot/exts/holidays/holidayreact.py +++ b/bot/exts/holidays/holidayreact.py @@ -29,7 +29,7 @@ class Holiday(NamedTuple): Valentines = Holiday([Month.FEBRUARY], { - "heart": Trigger(r"\b(love|heart)\b", ["\u2764\uFE0F"]), + "heart": Trigger(r"\b((l|w)(ove|uv)(s|lies?)?|hearts?)\b", ["\u2764\uFE0F"]), } ) Easter = Holiday([Month.APRIL], { -- cgit v1.2.3