aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/cogs/moderation/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/cogs/moderation/utils.py b/bot/cogs/moderation/utils.py
index 8328e4c85..d0eaba7c8 100644
--- a/bot/cogs/moderation/utils.py
+++ b/bot/cogs/moderation/utils.py
@@ -91,7 +91,7 @@ async def post_infraction(
response = await ctx.bot.api_client.post('bot/infractions', json=payload)
return response
except ResponseCodeError as exp:
- if exp.status == 400 and 'user'in exp.response_json:
+ if exp.status == 400 and 'user' in exp.response_json:
# Only one attempt to add the user to the database, not two:
if not should_post_user or await post_user(ctx, user) is None:
return