forked from rDrama/rDrama
fsd
parent
3fc67c520f
commit
19035290bc
|
@ -219,6 +219,7 @@ def sanitize(sanitized, noimages=False):
|
||||||
|
|
||||||
for i in re.findall('^(\s+)?((:[\w]+:)+(\s+)?)+$', sanitized):
|
for i in re.findall('^(\s+)?((:[\w]+:)+(\s+)?)+$', sanitized):
|
||||||
emojis = i.lower()
|
emojis = i.lower()
|
||||||
|
print(emojis)
|
||||||
for i in re.finditer('\w*(?<!"):([^ ]{1,30}?):', emojis):
|
for i in re.finditer('\w*(?<!"):([^ ]{1,30}?):', emojis):
|
||||||
emoji = i.group(1)
|
emoji = i.group(1)
|
||||||
if path.isfile(f'./files/assets/images/emojis/{emoji}.webp'):
|
if path.isfile(f'./files/assets/images/emojis/{emoji}.webp'):
|
||||||
|
|
Loading…
Reference in New Issue