better code for longpostbot

pull/225/head
Aevann 2024-02-21 22:30:09 +02:00
parent e9c36fa686
commit b8be8dcebd
1 changed files with 1 additions and 1 deletions

View File

@ -366,7 +366,7 @@ def execute_zozbot(c, level, post, v):
push_notif({v.id}, f'New reply by @{c2.author_name}', "zoz", c2)
def execute_longpostbot(c, level, body, body_html, post, v):
if SITE_NAME != 'rDrama': return
if not LONGPOSTBOT_ID: return
if not len(c.body.split()) >= 200: return