aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Shivansh-007 <[email protected]>2021-04-18 06:22:00 +0530
committerGravatar Shivansh-007 <[email protected]>2021-10-11 12:05:34 +0530
commit691a63c8dcfee89f2cf8e5d2c9456b84789dfc9a (patch)
tree5e9e415cc96e3faaac0b96108e102484afc5a03a
parentDon't allow more than 10 embeds per report. (diff)
Use str() rather than f string for single variable.
Makes the intent much more clear.
-rw-r--r--bot/exts/moderation/incidents.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/moderation/incidents.py b/bot/exts/moderation/incidents.py
index 032c15ca2..df8d08509 100644
--- a/bot/exts/moderation/incidents.py
+++ b/bot/exts/moderation/incidents.py
@@ -156,7 +156,7 @@ async def make_message_link_embed(ctx: Context, message_link: str) -> discord.Em
message = await message_convert_object.convert(ctx, message_link)
except discord.DiscordException as e:
- embed.title = f"{e}"
+ embed.title = str(e)
embed.colour = Colours.soft_red
else: