remove @ from torture_ap

master
Aevann 2023-03-23 20:35:06 +02:00
parent da3456ba9d
commit 00654156a0
1 changed files with 2 additions and 2 deletions

View File

@ -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()