From f1689cc8a193747ba0e048db3fa5d8b2c52a1ac7 Mon Sep 17 00:00:00 2001 From: Manuel Ignacio Pérez Alcolea Date: Fri, 20 Dec 2019 23:14:49 -0300 Subject: "Correct indentation style" --- bot/cogs/moderation/utils.py | 6 ++++-- 1 file 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( -- cgit v1.2.3