diff --git a/active_bots/telegrambot.py b/active_bots/telegrambot.py index 20c663c..90bf906 100644 --- a/active_bots/telegrambot.py +++ b/active_bots/telegrambot.py @@ -38,6 +38,12 @@ class TelegramBot(Bot): "Sending Photos is not supported for privacy reasons. Can " "you describe it as text instead?") continue + if hasattr(update.message, 'text'): + tb.send_message( + update.message.sender.id, + "We only support text only reporting for privacy reasons." + "Can you describe it as text instead?") + continue if update.message.text.lower() == "/start": user.add_telegram_subscribers(update.message.sender.id) tb.send_message(