From 2f9337161dac7cb597f0b77ec9418debbf67812e Mon Sep 17 00:00:00 2001 From: 3err0 Date: Sun, 23 Jun 2019 12:47:57 +0800 Subject: [PATCH] not show message if not have permissions --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index da0eaba..8ff9b48 100644 --- a/main.py +++ b/main.py @@ -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 )