From 1871a062b6a1b0ae6e9eb2ff67072b48f9a3d8fc Mon Sep 17 00:00:00 2001 From: Bradley Reynolds Date: Sat, 2 Dec 2023 00:52:00 -0600 Subject: Replace or with space in christmas tree holiday reaction It's reacting to GitHub links that contain /tree/ --- bot/exts/holidays/holidayreact.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot') diff --git a/bot/exts/holidays/holidayreact.py b/bot/exts/holidays/holidayreact.py index ef44115a..bd70b831 100644 --- a/bot/exts/holidays/holidayreact.py +++ b/bot/exts/holidays/holidayreact.py @@ -61,7 +61,7 @@ Hanukkah = Holiday([Month.NOVEMBER, Month.DECEMBER], { } ) Christmas = Holiday([Month.DECEMBER], { - "christmas tree": Trigger(r"\b((christ|x)mas|tree)\b", ["\U0001F384"]), + "christmas tree": Trigger(r"\b((christ|x)mas tree)\b", ["\U0001F384"]), "reindeer": Trigger(r"\b(reindeer|caribou|buck|stag)\b", ["\U0001F98C"]), "santa": Trigger(r"\bsanta\b", ["\U0001F385"]), "snowflake": Trigger(r"\b(snow ?)?flake(?! ?8)\b", ["\u2744\uFE0F"]), -- cgit v1.2.3