diff options
author | 2023-08-23 06:24:04 -0500 | |
---|---|---|
committer | 2023-08-23 12:24:04 +0100 | |
commit | 328f11f71a2bf0a2dea5f23065abb4514e5f7661 (patch) | |
tree | 881830d2716a12d8e87d7d72ddad144ffae34cf7 /bot | |
parent | Merge pull request #1323 from python-discord/snakes-cleanup (diff) |
holidayreact: add alternate spellings to February (#1214)
* holidayreact: add alternate spellings to february
* Simplify valentine heart regex
Co-authored-by: Preocts <[email protected]>
Co-authored-by: Preocts <[email protected]>
Diffstat (limited to 'bot')
-rw-r--r-- | bot/exts/holidays/holidayreact.py | 2 |
1 files changed, 1 insertions, 1 deletions
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], { |