This commit is contained in:
Aevann1 2021-09-04 00:24:25 +02:00
parent dd60d46a50
commit 8b2536a29e

View file

@ -296,7 +296,7 @@ def api_comment(v):
g.db.flush()
if "pcm" in request.host and c_aux.body.lower().startswith("based"):
pill = re.match("based and (.*?)(-| )pilled", body, re.IGNORECASE)
pill = re.match("based and (.{1,20}?)(-| )pilled", body, re.IGNORECASE)
c_based = Comment(author_id=BASEDBOT_ACCOUNT,
parent_submission=parent_submission,