From 6d5dcaec9afd1d0becc7b81449fe179788e75da0 Mon Sep 17 00:00:00 2001 From: justcool393 Date: Sun, 9 Oct 2022 09:40:20 -0700 Subject: [PATCH] fix long post bot lol --- files/helpers/actions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files/helpers/actions.py b/files/helpers/actions.py index 36f898e8a..c276114dd 100644 --- a/files/helpers/actions.py +++ b/files/helpers/actions.py @@ -247,7 +247,8 @@ def execute_zozbot(c, level, parent_submission, v): g.db.add(zozbot) def execute_longpostbot(c, level, body, body_html, parent_submission, v): - if not len(c.body.split()) >= 200 and "<" not in body and "" not in body_html: return + if not len(c.body.split()) >= 200: return + if "<" in body and "" in body_html: return body = random.choice(LONGPOST_REPLIES) if body.startswith('▼'): body = body[1:]