From 9409b4bfbe07b715ec9e2461a076d5cda261467b Mon Sep 17 00:00:00 2001 From: Stan James Date: Fri, 2 Feb 2018 12:06:44 -0700 Subject: [PATCH] Kick enabled. --- bot.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bot.py b/bot.py index 3f6c756..87a6860 100644 --- a/bot.py +++ b/bot.py @@ -38,9 +38,8 @@ class TelegramMonitorBot: def ban_user(self, update): """ Ban user from update if not listed as safe user """ - # kick_success = update.message.chat.kick_member(update.message.from_user.id) - print ("Not banning in testing") - + kick_success = update.message.chat.kick_member(update.message.from_user.id) + # print ("Not banning in testing") def security_check_username(self, bot, update):