From a9199aae27a07bd3ea2f6555f13aeb545db9189c Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Sat, 4 Sep 2021 00:27:55 +0200 Subject: [PATCH] fd --- files/helpers/const.py | 4 +--- files/routes/comments.py | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/files/helpers/const.py b/files/helpers/const.py index 40a210cd34..8833767a2c 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 d8af995b24..ce480c4d29 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()