From 2e8fb4ac07f4c48123327a65f039ac6f93af6a1a Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 25 Jun 2022 00:27:42 +0200 Subject: [PATCH] sneed --- files/routes/comments.py | 2 +- files/routes/posts.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/routes/comments.py b/files/routes/comments.py index d3ea8ecd74..25e450c794 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -327,7 +327,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 = bool(request.headers.get("Authorization")) or (SITE == 'pcmemes.net' and v.id == SNAPPY_ID) + is_bot = v.id != 12125 and (bool(request.headers.get("Authorization")) or (SITE == 'pcmemes.net' and v.id == SNAPPY_ID)) if '!slots' not in body.lower() and '!blackjack' not in body.lower() and '!wordle' not in body.lower() and parent_post.id not in ADMIGGERS and not is_bot and not v.marseyawarded and AGENDAPOSTER_PHRASE not in body.lower() and len(body) > 10: now = int(time.time()) diff --git a/files/routes/posts.py b/files/routes/posts.py index b321d77eda..e95f8182e8 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -932,7 +932,7 @@ def submit_post(v, sub=None): if embed and len(embed) > 1500: embed = None - is_bot = bool(request.headers.get("Authorization")) or (SITE == 'pcmemes.net' and v.id == SNAPPY_ID) + is_bot = v.id != 12125 and bool(request.headers.get("Authorization")) or (SITE == 'pcmemes.net' and v.id == SNAPPY_ID) if request.values.get("ghost") and v.coins >= 100: v.coins -= 100