some fixes voice_bot
This commit is contained in:
@@ -166,9 +166,9 @@ def telegram_bot():
|
|||||||
else:
|
else:
|
||||||
msg = bot.send_message(chat_id=message.chat.id, text='Я тебя не понял, воспользуйся меню', reply_markup=markup)
|
msg = bot.send_message(chat_id=message.chat.id, text='Я тебя не понял, воспользуйся меню', reply_markup=markup)
|
||||||
bot.register_next_step_handler(msg, standup)
|
bot.register_next_step_handler(msg, standup)
|
||||||
except:
|
except Exception as e:
|
||||||
if LOGS:
|
msg = bot.send_message(chat_id=message.chat.id, text='Я не могу прислать тебе голосовое, потому что они скрыты у тебя в настройках. Открой для меня голосовые и возвращайся❤️', reply_markup=markup)
|
||||||
bot.send_message(chat_id=IMPORTANT_LOGS, text=BotDB.get_error_message_from_db(4))
|
bot.register_next_step_handler(msg, standup)
|
||||||
|
|
||||||
|
|
||||||
def plural_time(type, n):
|
def plural_time(type, n):
|
||||||
|
|||||||
Reference in New Issue
Block a user