aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/cogs/moderation/utils.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/bot/cogs/moderation/utils.py b/bot/cogs/moderation/utils.py
index 5b5aacb16..3b39b52ac 100644
--- a/bot/cogs/moderation/utils.py
+++ b/bot/cogs/moderation/utils.py
@@ -56,8 +56,10 @@ async def post_user(ctx: Context, user: t.Union[discord.User, discord.Object]) -
return response
except ResponseCodeError as e:
log.warn("Couldn't post user.")
- await ctx.send("The attempt to add the user to the DB failed: "
- f"{e.status}, {e.response_text if e.response_text else 'no message received'}.")
+ await ctx.send(
+ "The attempt to add the user to the DB failed: "
+ f"{e.status}, {e.response_text if e.response_text else 'no message received'}."
+ )
async def post_infraction(