diff options
| author | 2019-12-20 23:14:49 -0300 | |
|---|---|---|
| committer | 2019-12-20 23:14:49 -0300 | |
| commit | f1689cc8a193747ba0e048db3fa5d8b2c52a1ac7 (patch) | |
| tree | 807774e4e2b27e3bc5649c4554754a661c04b119 | |
| parent | Move `utils.proxy_user` to Converters and do minor refactoring (diff) | |
"Correct indentation style"
| -rw-r--r-- | bot/cogs/moderation/utils.py | 6 |
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( |