Skip to content

Commit

Permalink
v0.1.12.6 - v_chat_name act_add_template
Browse files Browse the repository at this point in the history
  • Loading branch information
sidor0912 committed Mar 26, 2024
1 parent eb6c5f3 commit 36d68bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
............................................................"""


VERSION = "0.1.12.5"
VERSION = "0.1.12.6"


if getattr(sys, 'frozen', False):
Expand Down
2 changes: 1 addition & 1 deletion tg_bot/templates_cp.py
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit 36d68bc

Please sign in to comment.