fdfd
This commit is contained in:
parent
eb8d9cf5ea
commit
ea2afbde6d
2 changed files with 2 additions and 1 deletions
|
@ -56,6 +56,7 @@ Thank you."""
|
||||||
|
|
||||||
BASED_MSG = """@{username}'s Based Count has increased by 1. Their Based Count is now {basedcount}."""
|
BASED_MSG = """@{username}'s Based Count has increased by 1. Their Based Count is now {basedcount}."""
|
||||||
|
|
||||||
|
BASEDBOT_ACCOUNT = 800
|
||||||
NOTIFICATIONS_ACCOUNT = 1046
|
NOTIFICATIONS_ACCOUNT = 1046
|
||||||
AUTOJANNY_ACCOUNT = 2360
|
AUTOJANNY_ACCOUNT = 2360
|
||||||
LONGPOSTBOT_ACCOUNT = 1832
|
LONGPOSTBOT_ACCOUNT = 1832
|
||||||
|
|
|
@ -296,7 +296,7 @@ def api_comment(v):
|
||||||
g.db.flush()
|
g.db.flush()
|
||||||
|
|
||||||
if c.parent_comment and c_aux.body.lower().startswith("based"):
|
if c.parent_comment and c_aux.body.lower().startswith("based"):
|
||||||
c_based = Comment(author_id=1,
|
c_based = Comment(author_id=BASEDBOT_ACCOUNT,
|
||||||
parent_submission=parent_submission,
|
parent_submission=parent_submission,
|
||||||
distinguish_level=6,
|
distinguish_level=6,
|
||||||
parent_comment_id=c.id,
|
parent_comment_id=c.id,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue