diff options
| author | 2019-07-09 17:45:40 -0400 | |
|---|---|---|
| committer | 2019-07-09 17:45:40 -0400 | |
| commit | 9353a79753a2d5f9fb98fec21b2bd2e8e2248167 (patch) | |
| tree | 566d5876b7e9ae508b7af696ea18bc73b595e22c /bot/seasons/halloween/spookyreact.py | |
| parent | Relock Pipfile. (diff) | |
| parent | Changing id of terning4 to the correct one (diff) | |
Merge branch 'master' into dpy-1.2
Diffstat (limited to 'bot/seasons/halloween/spookyreact.py')
| -rw-r--r-- | bot/seasons/halloween/spookyreact.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/bot/seasons/halloween/spookyreact.py b/bot/seasons/halloween/spookyreact.py index 9b14507a..5a086072 100644 --- a/bot/seasons/halloween/spookyreact.py +++ b/bot/seasons/halloween/spookyreact.py @@ -32,7 +32,6 @@ class SpookyReact(Cog): Seasonalbot's own messages are ignored """ - for trigger in SPOOKY_TRIGGERS.keys(): trigger_test = re.search(SPOOKY_TRIGGERS[trigger][0], ctx.content.lower()) if trigger_test: @@ -52,7 +51,6 @@ class SpookyReact(Cog): * author is the bot * prefix is not None """ - # Check for self reaction if ctx.author == self.bot.user: logging.debug(f"Ignoring reactions on self message. Message ID: {ctx.id}") @@ -70,6 +68,5 @@ class SpookyReact(Cog): def setup(bot): """Spooky reaction Cog load.""" - bot.add_cog(SpookyReact(bot)) log.info("SpookyReact cog loaded") |