replace trolling.py to bot.py

This commit is contained in:
Rykov7
2022-11-30 21:28:03 +03:00
parent eb99288896
commit 4fc2417ec2
3 changed files with 33 additions and 39 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ PYTHONCHATRU = -1001338616632 # pythonchatru
URL_RX = re.compile(r'\w+\.\w+/\w+')
ALLOWED_WORDS = ['pastebin', 'github', 'google', 'nometa', 'python', 'django', 'flask', 'fastapi',
'stackoverflow', 'habr', 'medium', 'youtube', 'stepik', 'telegraph']
'stackoverflow', 'habr', 'medium', 'youtube', 'stepik', 'telegraph', '#rtfm']
WHITEUN = set(os.environ.get('whitelist', '<<<ERR_USRS').split(','))
logging.warning(f'White users {WHITEUN}')