diff options
author | 2019-04-24 17:20:30 -0400 | |
---|---|---|
committer | 2019-04-24 17:20:30 -0400 | |
commit | b611ff92ea69cc1ac6b82aa3f06b9d9675e86a82 (patch) | |
tree | 0fdb47359609c44479a331b5684dcb3d50a1ff56 /bot/seasons/halloween/spookyreact.py | |
parent | Remove docstring newline linting from ignored codes (diff) |
Relint Seasonalbot with new linting rules
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") |