add geting ip

This commit is contained in:
Rykov7
2023-01-19 07:14:42 +03:00
parent f7f59325c0
commit 3c5605d390
4 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -20,7 +20,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', 'wiki',
ALLOWED_WORDS = ['paste', 'nekobin', '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(','))