master
Aevann1 2021-10-01 02:15:07 +02:00
parent 80b68ae91d
commit 2eb4c0926b
1 changed files with 2 additions and 0 deletions

View File

@ -222,6 +222,8 @@ def sanitize(sanitized, noimages=False):
if emoji in session["favorite_emojis"]: session["favorite_emojis"][emoji] += 1
else: session["favorite_emojis"][emoji] = 1
print(emojis)
sanitized = sanitized.replace(i.group(0), emojis)
for i in re.finditer('\w*(?<!"):([^ ]{1,30}?):', sanitized):