From 36d68bc9d23979344eaf677c4bfd6d9bc89986a3 Mon Sep 17 00:00:00 2001 From: Oleksii Sydorenko Date: Tue, 26 Mar 2024 23:29:29 +0200 Subject: [PATCH] v0.1.12.6 - v_chat_name act_add_template --- main.py | 2 +- tg_bot/templates_cp.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index f353d43..fb5c3a2 100644 --- a/main.py +++ b/main.py @@ -40,7 +40,7 @@ ............................................................""" -VERSION = "0.1.12.5" +VERSION = "0.1.12.6" if getattr(sys, 'frozen', False): diff --git a/tg_bot/templates_cp.py b/tg_bot/templates_cp.py index 5028304..9e7bb73 100644 --- a/tg_bot/templates_cp.py +++ b/tg_bot/templates_cp.py @@ -80,7 +80,7 @@ def act_add_template(c: CallbackQuery): Активирует режим добавления нового шаблона ответа. """ offset = int(c.data.split(":")[1]) - variables = ["v_username", "v_chat_name", "v_photo"] + variables = ["v_username", "v_photo"] text = f"{_('V_new_template')}\n\n{_('v_list')}:\n" + "\n".join(_(i) for i in variables) result = bot.send_message(c.message.chat.id, text, reply_markup=CLEAR_STATE_BTN()) tg.set_state(c.message.chat.id, result.id, c.from_user.id, CBT.ADD_TMPLT, {"offset": offset})