randydev commited on
Commit
4a3b4ca
·
verified ·
1 Parent(s): 9dce1ac

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -0
main.py CHANGED
@@ -86,6 +86,8 @@ user_client = create_pyrogram(
86
  session_string=SESSION
87
  )
88
 
 
 
89
  def contains_stylish_with_whitelist(text: str) -> bool:
90
  emoji_pattern = re.compile(
91
  "[\U0001F600-\U0001F64F"
 
86
  session_string=SESSION
87
  )
88
 
89
+ WHITELIST_WORDS = {"eval", "admin", "bot", "python", "ok", "done", "anti"}
90
+
91
  def contains_stylish_with_whitelist(text: str) -> bool:
92
  emoji_pattern = re.compile(
93
  "[\U0001F600-\U0001F64F"