add nobot, noparse and nogui commands

This commit is contained in:
Rykov7
2022-12-17 20:34:34 +03:00
parent 009b39a2d1
commit 4bba413f3b
2 changed files with 39 additions and 1 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ PYTHONCHATRU = -1001338616632 # pythonchatru
URL_RX = re.compile(r'\w+\.\w+/\w+')
ALLOWED_WORDS = ['paste', 'github', 'google', 'nometa', 'python', 'django', 'flask', 'fastapi',
'stackoverflow', 'habr', 'medium', 'youtu', 'stepik', 'telegraph', '#rtfm']
'stackoverflow', 'habr', 'medium', 'youtu', 'stepik', 'telegraph', '#rtfm', 'support']
WHITEUN = set(os.environ.get('whitelist', '<<<ERR_USRS').split(','))
WHITEIDS = {int(i) for i in os.environ.get('whiteids', '<<<ERR_IDS').split(',')}