aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Bradley Reynolds <[email protected]>2024-01-30 09:31:25 -0600
committerGravatar GitHub <[email protected]>2024-01-30 09:31:25 -0600
commitd4ae0cd912e3a8c5d01e1141c4ba79313d3b824f (patch)
tree8f84ae8912bb1abaf068ae37964f5df7dd95a927
parentMerge 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.py2
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"]),