diff --git a/app/bot.py b/app/bot.py index f0be4a4..89a157a 100644 --- a/app/bot.py +++ b/app/bot.py @@ -87,7 +87,7 @@ def send_bdmtss_audio(message): bot.send_voice(message.chat.id, 'AwACAgIAAxkBAAIJrWOg2WUvLwrf7ahyJxQHB8_nqllwAAL5JQAC2_IJSbhfQIO5YnVmLAQ') -@bot.message_handler(commands=['tr']) +@bot.message_handler(commands=['tr', 'тр']) def translate_layout(message): if message.reply_to_message and message.reply_to_message.text: if message.reply_to_message.text[0] in RUS: @@ -150,7 +150,7 @@ GUI приложение не должно быть твоим первы send_or_reply(message, answer) -@bot.message_handler(commands=['g', 'г']) +@bot.message_handler(commands=['g']) def google_it(message: types.Message): """ Google it! """ query = f'{detect_args(message)}'