This commit is contained in:
Aevann1 2021-12-16 19:59:30 +02:00
parent ce6e94e07a
commit 08b4773941
6 changed files with 10 additions and 7 deletions

View file

@ -230,7 +230,7 @@ def api_comment(v):
if parent.author.any_block_exists(v) and v.admin_level < 2: return {"error": "You can't reply to users who have blocked you, or users you have blocked."}, 403
is_bot = request.headers.get("Authorization")
is_bot = bool(request.headers.get("Authorization"))
if not is_bot and not v.marseyawarded and 'trans lives matters' not in body.lower():
now = int(time.time())