remotes/1693045480750635534/spooky-22
Aevann1 2021-09-30 23:09:39 +02:00
parent 3fc67c520f
commit 19035290bc
1 changed files with 1 additions and 0 deletions

View File

@ -219,6 +219,7 @@ def sanitize(sanitized, noimages=False):
for i in re.findall('^(\s+)?((:[\w]+:)+(\s+)?)+$', sanitized):
emojis = i.lower()
print(emojis)
for i in re.finditer('\w*(?<!"):([^ ]{1,30}?):', emojis):
emoji = i.group(1)
if path.isfile(f'./files/assets/images/emojis/{emoji}.webp'):