Skip to content

Commit cb14fcf

Browse files
authored
Fix regex for 'spooky' trigger pattern (#1705)
1 parent 17dc08a commit cb14fcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot/exts/holidays/holidayreact.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class Holiday(NamedTuple):
7575
"jack-o-lantern": Trigger(r"\bjack-o-lantern\b", ["\U0001F383"]),
7676
"pumpkin": Trigger(r"\bpumpkin\b", ["\U0001F383"]),
7777
"skeleton": Trigger(r"\bskeleton\b", ["\U0001F480"]),
78-
"spooky": Trigger(r"\bspo{2,}[k|p][i|y](er|est)?\b", ["\U0001F47B"]),
78+
"spooky": Trigger(r"\bspo{2,}[kp][iy](er|est)?\b", ["\U0001F47B"]),
7979
}
8080
)
8181
Hanukkah = Holiday([Month.NOVEMBER, Month.DECEMBER], {

0 commit comments

Comments
 (0)