Syntax error
This commit is contained in:
parent
a698700709
commit
a74a3fd5c2
3
bot.py
3
bot.py
@ -22,11 +22,8 @@ import unidecode
|
|||||||
class TelegramMonitorBot:
|
class TelegramMonitorBot:
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|
||||||
self.safe_user_ids = map(int, os.environ['SAFE_USER_IDS'].split(','))
|
self.safe_user_ids = map(int, os.environ['SAFE_USER_IDS'].split(','))
|
||||||
|
|
||||||
print (self.safe_user_ids)
|
|
||||||
|
|
||||||
self.message_ban_patterns = os.environ['MESSAGE_BAN_PATTERNS']
|
self.message_ban_patterns = os.environ['MESSAGE_BAN_PATTERNS']
|
||||||
self.message_ban_re = re.compile(self.message_ban_patterns, re.IGNORECASE)
|
self.message_ban_re = re.compile(self.message_ban_patterns, re.IGNORECASE)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user