aboutsummaryrefslogtreecommitdiffstats
path: root/bot/seasons/halloween/spookyreact.py
diff options
context:
space:
mode:
authorGravatar sco1 <[email protected]>2019-03-26 14:53:13 -0400
committerGravatar sco1 <[email protected]>2019-03-26 14:53:13 -0400
commit0bc509af4c7e5184a575763279756dac0a425dab (patch)
treee444b611009bd084a7148a4724ed3f9a446e2b8a /bot/seasons/halloween/spookyreact.py
parentRespect docstring summary/description spacing. (diff)
parentMerge pull request #132 from python-discord/dpy-cog-changes (diff)
Merge branch 'master' into flake8-docstring
Resolve merge conflicts
Diffstat (limited to 'bot/seasons/halloween/spookyreact.py')
-rw-r--r--bot/seasons/halloween/spookyreact.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/bot/seasons/halloween/spookyreact.py b/bot/seasons/halloween/spookyreact.py
index 553bd285..f1dbb905 100644
--- a/bot/seasons/halloween/spookyreact.py
+++ b/bot/seasons/halloween/spookyreact.py
@@ -2,6 +2,7 @@ import logging
import re
import discord
+from discord.ext.commands import Cog
log = logging.getLogger(__name__)
@@ -22,6 +23,7 @@ class SpookyReact:
def __init__(self, bot):
self.bot = bot
+ @Cog.listener()
async def on_message(self, ctx: discord.Message):
"""
A command to send the seasonalbot github project.
@@ -70,4 +72,4 @@ def setup(bot):
"""Spooky reaction Cog load."""
bot.add_cog(SpookyReact(bot))
- log.debug("SpookyReact cog loaded")
+ log.info("SpookyReact cog loaded")