diff options
author | 2024-01-30 09:31:25 -0600 | |
---|---|---|
committer | 2024-01-30 09:31:25 -0600 | |
commit | d4ae0cd912e3a8c5d01e1141c4ba79313d3b824f (patch) | |
tree | 8f84ae8912bb1abaf068ae37964f5df7dd95a927 | |
parent | Merge branch 'main' into shenanigansd-patch-1 (diff) |
Only flag on Christmas treesshenanigansd-patch-1
https://regex101.com/r/o9LrH2/1
-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 6cc41450..9564b318 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\s?(tree(s)?)?\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"]), |