aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Gareth Coles <[email protected]>2018-07-21 15:18:14 +0100
committerGravatar Gareth Coles <[email protected]>2018-07-21 15:18:14 +0100
commit21379aee5c6ba896b4a715aa50bb51821ae65d71 (patch)
tree47620d58f2b17adb09b0dba813d429b1498cbcae
parent[Modlog] Improved message edit logging (diff)
Remove unnecessary f-strings.
Closes #38 - all tasks are done with this push.
-rw-r--r--bot/cogs/modlog.py12
1 files 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}"
)