fix long post bot lol

remotes/1693176582716663532/tmp_refs/heads/watchparty
justcool393 2022-10-09 09:40:20 -07:00
parent e930b5f357
commit 6d5dcaec9a
1 changed files with 2 additions and 1 deletions

View File

@ -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 "</blockquote>" not in body_html: return
if not len(c.body.split()) >= 200: return
if "<" in body and "</blockquote>" in body_html: return
body = random.choice(LONGPOST_REPLIES)
if body.startswith(''):
body = body[1:]