diff --git a/files/helpers/const.py b/files/helpers/const.py index 40a210cd3..8833767a2 100644 --- a/files/helpers/const.py +++ b/files/helpers/const.py @@ -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 diff --git a/files/routes/comments.py b/files/routes/comments.py index d8af995b2..ce480c4d2 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -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()