diff options
author | 2024-07-16 02:32:02 +0530 | |
---|---|---|
committer | 2024-07-16 02:32:02 +0530 | |
commit | 76047aa96a7f65b7877a3cd6f1745ccb8f4014aa (patch) | |
tree | afe6f686d1b3fb0eb9f97e8a9de59e4ba27ba77a | |
parent | Merge branch 'main' into main (diff) |
Removed over-indented block
-rw-r--r-- | bot/exts/moderation/modlog.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bot/exts/moderation/modlog.py b/bot/exts/moderation/modlog.py index 880631097..ebd156d4b 100644 --- a/bot/exts/moderation/modlog.py +++ b/bot/exts/moderation/modlog.py @@ -542,10 +542,10 @@ class ModLog(Cog, name="ModLog"): response = reference_line + response elif message.reference is not None and message.reference.resolved is None: - reference_line = ( - "**In reply to:** (Message could not be resolved)\n" - ) - response = reference_line + response + reference_line = ( + "**In reply to:** (Message could not be resolved)\n" + ) + response = reference_line + response if message.attachments: # Prepend the message metadata with the number of attachments |