diff options
| author | 2019-05-30 20:27:23 -0400 | |
|---|---|---|
| committer | 2019-05-30 20:27:23 -0400 | |
| commit | 484f61b04c0cfa5c02a2047c1f3fc7f34418d212 (patch) | |
| tree | 88258e0b987f9bc31bef53f5afcf90074eb4233b /bot/seasons/halloween/spookyreact.py | |
| parent | Merge pull request #211 from RohanRadia/master (diff) | |
| parent | Fix snake draw command (diff) | |
Merge pull request #200 from python-discord/docstring-lint-change
Docstring lint change
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") |