aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/holidays/halloween/spookyreact.py
diff options
context:
space:
mode:
authorGravatar Xithrius <[email protected]>2022-11-02 02:07:29 -0700
committerGravatar GitHub <[email protected]>2022-11-02 02:07:29 -0700
commit43a2acf5ee4eb354ce3dfaeef9504eee9b9b46b4 (patch)
treecbdfeb08f8d582aa98acec6a529f0fa3dcd7933c /bot/exts/holidays/halloween/spookyreact.py
parentAppeased the formatter (diff)
parentMerge pull request #1137 from DivyanshuBist/bug-issue1122-message-of-type-None (diff)
Merge branch 'main' into main
Diffstat (limited to 'bot/exts/holidays/halloween/spookyreact.py')
-rw-r--r--bot/exts/holidays/halloween/spookyreact.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/bot/exts/holidays/halloween/spookyreact.py b/bot/exts/holidays/halloween/spookyreact.py
index e228b91d..945bde33 100644
--- a/bot/exts/holidays/halloween/spookyreact.py
+++ b/bot/exts/holidays/halloween/spookyreact.py
@@ -17,7 +17,8 @@ SPOOKY_TRIGGERS = {
"pumpkin": (r"\bpumpkin\b", "\U0001F383"),
"halloween": (r"\bhalloween\b", "\U0001F383"),
"jack-o-lantern": (r"\bjack-o-lantern\b", "\U0001F383"),
- "danger": (r"\bdanger\b", "\U00002620")
+ "danger": (r"\bdanger\b", "\U00002620"),
+ "bat": (r"\bbat((wo)?m[ae]n|persons?|people|s)?\b", "\U0001F987"),
}
@@ -65,6 +66,6 @@ class SpookyReact(Cog):
return False
-def setup(bot: Bot) -> None:
+async def setup(bot: Bot) -> None:
"""Load the Spooky Reaction Cog."""
- bot.add_cog(SpookyReact(bot))
+ await bot.add_cog(SpookyReact(bot))