master
Aevann1 2021-09-04 00:27:55 +02:00
parent 59c888ceb6
commit a9199aae27
2 changed files with 2 additions and 4 deletions

View File

@ -54,9 +54,7 @@ The only proven method of prevention is the COVID-19 vaccine, paired with approp
Thank you."""
BASED_MSG = """@{username}'s Based Count has increased by 1. Their Based Count is now {basedcount}.\
Pills: {pills}"""
BASED_MSG = "@{username}'s Based Count has increased by 1. Their Based Count is now {basedcount}.\n\nPills: {pills}"
BASEDBOT_ACCOUNT = 800
NOTIFICATIONS_ACCOUNT = 1046

View File

@ -312,7 +312,7 @@ def api_comment(v):
if level == 1: basedguy = get_account(c.post.author_id)
else: basedguy = get_account(c.parent_comment.author_id)
basedguy.basedcount += 1
if pill: basedguy.pills += f"{pill}, "
if pill: basedguy.pills += f"{pill.group(1)}, "
g.db.add(basedguy)
g.db.flush()