aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Preocts <[email protected]>2022-11-13 13:07:25 -0500
committerGravatar GitHub <[email protected]>2022-11-13 13:07:25 -0500
commitcacb8a287846cb3485114cfc176e66815d7e7bd9 (patch)
tree075aa72847af7a1615fac05478d7d6e13615b6bd
parentMerge pull request #1143 from python-discord/dependabot/pip/pip-licenses-4.0.0 (diff)
Enhance spooky react to be more spoopy.
This change adjusts the regex pattern used in detecting `spooky` to include fun variants such as `spoopy` and `spookier`. The `k` is replaceable with a `p`, the `y` can be interchanged with `i` allowing `ier` and `iest` endings. (`yer` and `yest` are also valid). The number of `o`s remains at two (2) or more.
-rw-r--r--bot/exts/holidays/halloween/spookyreact.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/holidays/halloween/spookyreact.py b/bot/exts/holidays/halloween/spookyreact.py
index 945bde33..99a84c4f 100644
--- a/bot/exts/holidays/halloween/spookyreact.py
+++ b/bot/exts/holidays/halloween/spookyreact.py
@@ -11,7 +11,7 @@ from bot.utils.decorators import in_month
log = logging.getLogger(__name__)
SPOOKY_TRIGGERS = {
- "spooky": (r"\bspo{2,}ky\b", "\U0001F47B"),
+ "spooky": (r"\bspo{2,}[k|p][i|y](er|est)?\b", "\U0001F47B"),
"skeleton": (r"\bskeleton\b", "\U0001F480"),
"doot": (r"\bdo{2,}t\b", "\U0001F480"),
"pumpkin": (r"\bpumpkin\b", "\U0001F383"),