aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/halloween/spookyreact.py
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2020-11-21 01:20:13 +0100
committerGravatar Leon Sandøy <[email protected]>2020-11-21 01:20:13 +0100
commit8a57e92f3200ceb598e8c8c5faf39dcf24dd3e89 (patch)
tree209c0a329bd5ca7811471e7fce7b7551d2f809ae /bot/exts/halloween/spookyreact.py
parentHeader image for Sir Lancebot (diff)
parentMerge pull request #528 from python-discord/lemon/refactor/seasonalbot_name_c... (diff)
Merge branch 'master' of github.com:python-discord/seasonalbot
Diffstat (limited to 'bot/exts/halloween/spookyreact.py')
-rw-r--r--bot/exts/halloween/spookyreact.py8
1 files changed, 1 insertions, 7 deletions
diff --git a/bot/exts/halloween/spookyreact.py b/bot/exts/halloween/spookyreact.py
index e5945aea..b335df75 100644
--- a/bot/exts/halloween/spookyreact.py
+++ b/bot/exts/halloween/spookyreact.py
@@ -29,13 +29,7 @@ class SpookyReact(Cog):
@in_month(Month.OCTOBER)
@Cog.listener()
async def on_message(self, ctx: discord.Message) -> None:
- """
- A command to send the seasonalbot github project.
-
- Lines that begin with the bot's command prefix are ignored
-
- Seasonalbot's own messages are ignored
- """
+ """Triggered when the bot sees a message in October."""
for trigger in SPOOKY_TRIGGERS.keys():
trigger_test = re.search(SPOOKY_TRIGGERS[trigger][0], ctx.content.lower())
if trigger_test: