Changed database ip

This commit is contained in:
2020-11-17 00:20:05 +01:00
parent fc5d0f7efe
commit 557d253fda
4 changed files with 16 additions and 12 deletions

10
functions/emoji_check.py Normal file
View File

@@ -0,0 +1,10 @@
import re
def deEmojify(text):
regrex_pattern = re.compile(pattern = "["
u"\U0001F600-\U0001F64F" # emoticons
u"\U0001F300-\U0001F5FF" # symbols & pictographs
u"\U0001F680-\U0001F6FF" # transport & map symbols
u"\U0001F1E0-\U0001F1FF" # flags (iOS)
"]+", flags = re.UNICODE)
return regrex_pattern.sub(r'',text)