diff options
| author | 2021-03-06 17:17:29 +0530 | |
|---|---|---|
| committer | 2021-10-11 12:05:31 +0530 | |
| commit | bb516c51bb811c51b0781d1898ac8e3d578fd4f7 (patch) | |
| tree | 3465b132fab6350165ccc911ad21580d463f8c0c | |
| parent | Modify tests to support redis cache, done with the help @SebastiaanZ (diff) | |
Allign comments to maintain readability
| -rw-r--r-- | bot/exts/moderation/incidents.py | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/exts/moderation/incidents.py b/bot/exts/moderation/incidents.py index 7f8a34a01..be6708b83 100644 --- a/bot/exts/moderation/incidents.py +++ b/bot/exts/moderation/incidents.py @@ -123,9 +123,9 @@ def is_incident(message: discord.Message) -> bool:      """True if `message` qualifies as an incident, False otherwise."""      conditions = (          message.channel.id == Channels.incidents,  # Message sent in #incidents -        not message.author.bot,  # Not by a bot -        not message.content.startswith("#"),  # Doesn't start with a hash -        not message.pinned,  # And isn't header +        not message.author.bot,                    # Not by a bot +        not message.content.startswith("#"),       # Doesn't start with a hash +        not message.pinned,                        # And isn't header      )      return all(conditions)  |