From 21379aee5c6ba896b4a715aa50bb51821ae65d71 Mon Sep 17 00:00:00 2001 From: Gareth Coles Date: Sat, 21 Jul 2018 15:18:14 +0100 Subject: Remove unnecessary f-strings. Closes #38 - all tasks are done with this push. --- bot/cogs/modlog.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bot/cogs/modlog.py b/bot/cogs/modlog.py index 27b0da25d..8c449635c 100644 --- a/bot/cogs/modlog.py +++ b/bot/cogs/modlog.py @@ -472,7 +472,7 @@ class ModLog: f"**Author:** {author.name}#{author.discriminator} (`{author.id}`)\n" f"**Channel:** {channel.category}/#{channel.name} (`{channel.id}`)\n" f"**Message ID:** `{message.id}`\n" - f"\n" + "\n" f"{message.clean_content}" ) else: @@ -480,7 +480,7 @@ class ModLog: f"**Author:** {author.name}#{author.discriminator} (`{author.id}`)\n" f"**Channel:** #{channel.name} (`{channel.id}`)\n" f"**Message ID:** `{message.id}`\n" - f"\n" + "\n" f"{message.clean_content}" ) @@ -551,7 +551,7 @@ class ModLog: f"**Author:** {author.name}#{author.discriminator} (`{author.id}`)\n" f"**Channel:** {channel.category}/#{channel.name} (`{channel.id}`)\n" f"**Message ID:** `{before.id}`\n" - f"\n" + "\n" f"{before.clean_content}" ) @@ -559,7 +559,7 @@ class ModLog: f"**Author:** {author.name}#{author.discriminator} (`{author.id}`)\n" f"**Channel:** {channel.category}/#{channel.name} (`{channel.id}`)\n" f"**Message ID:** `{before.id}`\n" - f"\n" + "\n" f"{after.clean_content}" ) else: @@ -567,7 +567,7 @@ class ModLog: f"**Author:** {author.name}#{author.discriminator} (`{author.id}`)\n" f"**Channel:** #{channel.name} (`{channel.id}`)\n" f"**Message ID:** `{before.id}`\n" - f"\n" + "\n" f"{before.clean_content}" ) @@ -575,7 +575,7 @@ class ModLog: f"**Author:** {author.name}#{author.discriminator} (`{author.id}`)\n" f"**Channel:** #{channel.name} (`{channel.id}`)\n" f"**Message ID:** `{before.id}`\n" - f"\n" + "\n" f"{after.clean_content}" ) -- cgit v1.2.3