minor refactor

This commit is contained in:
Rykov7
2022-12-21 08:34:30 +03:00
parent 8af37646cd
commit 681b833535
5 changed files with 12 additions and 10 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ ADMIN_ID = 280887861 # Rykov7
PYTHONCHATRU = -1001338616632 # pythonchatru
URL_RX = re.compile(r'\w+\.\w+/\w+')
ALLOWED_WORDS = ['paste', 'github', 'google', 'nometa', 'python', 'django', 'flask', 'fastapi',
ALLOWED_WORDS = ['paste', 'github', 'google', 'nometa', 'python', 'django', 'flask', 'fastapi', 'wiki'
'stackoverflow', 'habr', 'medium', 'youtu', 'stepik', 'telegraph', '#rtfm', 'support']
WHITEUN = set(os.environ.get('whitelist', '<<<ERR_USRS').split(','))