From 00654156a0ca32697120cb3e7ce6ea0d3f465ba0 Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 23 Mar 2023 20:35:06 +0200 Subject: [PATCH] remove @ from torture_ap --- files/helpers/regex.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/helpers/regex.py b/files/helpers/regex.py index c37030576..be0c2971e 100644 --- a/files/helpers/regex.py +++ b/files/helpers/regex.py @@ -168,8 +168,8 @@ def torture_ap(body, username): continue for k, l in AJ_REPLACEMENTS.items(): lines[i] = lines[i].replace(k, l) - lines[i] = torture_regex.sub(rf'\1@{username} ', lines[i]) - lines[i] = torture_regex2.sub(rf'\1@{username} is ', lines[i]) + lines[i] = torture_regex.sub(rf'\1{username} ', lines[i]) + lines[i] = torture_regex2.sub(rf'\1{username} is ', lines[i]) return ''.join(lines).strip()