diff options
author | 2022-11-13 13:07:25 -0500 | |
---|---|---|
committer | 2022-11-13 13:07:25 -0500 | |
commit | cacb8a287846cb3485114cfc176e66815d7e7bd9 (patch) | |
tree | 075aa72847af7a1615fac05478d7d6e13615b6bd | |
parent | Merge 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.py | 2 |
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"), |