master
Aevann1 2021-09-04 00:24:25 +02:00
parent bf26b5b256
commit f6d51fadc0
1 changed files with 1 additions and 1 deletions

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,