comment wasn't accurate
This commit is contained in:
parent
9409b4bfbe
commit
71067ed856
2
bot.py
2
bot.py
@ -37,7 +37,7 @@ class TelegramMonitorBot:
|
|||||||
|
|
||||||
|
|
||||||
def ban_user(self, update):
|
def ban_user(self, update):
|
||||||
""" Ban user from update if not listed as safe user """
|
""" Ban 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")
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user