fd
This commit is contained in:
parent
46c02ddaed
commit
1dd389a7d1
2 changed files with 2 additions and 4 deletions
|
@ -54,9 +54,7 @@ The only proven method of prevention is the COVID-19 vaccine, paired with approp
|
||||||
|
|
||||||
Thank you."""
|
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}.\n\nPills: {pills}"
|
||||||
|
|
||||||
Pills: {pills}"""
|
|
||||||
|
|
||||||
BASEDBOT_ACCOUNT = 800
|
BASEDBOT_ACCOUNT = 800
|
||||||
NOTIFICATIONS_ACCOUNT = 1046
|
NOTIFICATIONS_ACCOUNT = 1046
|
||||||
|
|
|
@ -312,7 +312,7 @@ def api_comment(v):
|
||||||
if level == 1: basedguy = get_account(c.post.author_id)
|
if level == 1: basedguy = get_account(c.post.author_id)
|
||||||
else: basedguy = get_account(c.parent_comment.author_id)
|
else: basedguy = get_account(c.parent_comment.author_id)
|
||||||
basedguy.basedcount += 1
|
basedguy.basedcount += 1
|
||||||
if pill: basedguy.pills += f"{pill}, "
|
if pill: basedguy.pills += f"{pill.group(1)}, "
|
||||||
g.db.add(basedguy)
|
g.db.add(basedguy)
|
||||||
g.db.flush()
|
g.db.flush()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue