not show message if not have permissions

This commit is contained in:
3err0 2019-06-23 12:47:57 +08:00
parent 05685cd51a
commit 2f9337161d

View File

@ -56,7 +56,7 @@ def handle_file(message):
else:
bot.reply_to(message, "What is it?")
else:
bot.send_message(message.chat.id, 'Тебе сюда нельзя. Твой ID: ' + str(message.chat.id))
pass
except Exception as e:
bot.reply_to(message,e )