Kick enabled.
This commit is contained in:
parent
11fe6cf312
commit
9409b4bfbe
5
bot.py
5
bot.py
@ -38,9 +38,8 @@ class TelegramMonitorBot:
|
|||||||
|
|
||||||
def ban_user(self, update):
|
def ban_user(self, update):
|
||||||
""" Ban user from update if not listed as safe user """
|
""" Ban user from update if not listed as safe user """
|
||||||
# kick_success = update.message.chat.kick_member(update.message.from_user.id)
|
kick_success = update.message.chat.kick_member(update.message.from_user.id)
|
||||||
print ("Not banning in testing")
|
# print ("Not banning in testing")
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def security_check_username(self, bot, update):
|
def security_check_username(self, bot, update):
|
||||||
|
Loading…
Reference in New Issue
Block a user