Merge branch 'develop' of github.com:OriginProtocol/origin-telegram-logger-bot into develop
This commit is contained in:
commit
cb3059aad4
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