From 52dd53f1d68a61312b5f5ffdf5d1839a83d1e604 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 2 Sep 2022 00:49:07 +0200 Subject: [PATCH] add :#trumpjaktalking: to the bottom of chudded comments and posts --- files/helpers/regex.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/files/helpers/regex.py b/files/helpers/regex.py index 87ff30a0e..4a27f4d06 100644 --- a/files/helpers/regex.py +++ b/files/helpers/regex.py @@ -130,7 +130,9 @@ def torture_ap(body, username): lines[i] = torture_regex.sub(rf'\1@{username} ', lines[i]) lines[i] = torture_regex2.sub(rf'\1@{username} is ', lines[i]) - return ''.join(lines) + body = ''.join(lines) + '\n:#trumpjaktalking:' + + return body commands = {