diff --git a/voice_bot.py b/voice_bot.py index b501e51..2b0a08d 100644 --- a/voice_bot.py +++ b/voice_bot.py @@ -109,6 +109,11 @@ def telegram_bot(): try: if message.text == '🎤Высказаться': markup = types.ReplyKeyboardRemove() + if LOGS: + # logging + bot.forward_message(chat_id=GROUP_FOR_LOGS, + from_chat_id=message.chat.id, + message_id=message.message_id) if TEST: bot.forward_message(chat_id=GROUP_FOR_LOGS, from_chat_id=message.chat.id, message_id=message.id) bot.send_message(chat_id=message.chat.id, text='Хорошо, теперь пришли мне свое голосовое сообщение', reply_markup=markup)