feat: встроить шаблоны в SD_MAIN_MENU_TEXT, после выбора показать "Опишите проблему текстом"
This commit is contained in:
@@ -172,7 +172,7 @@ async def main_menu(msg: Message):
|
||||
sd_sessions[user_id]["templates"] = templates
|
||||
sd_sessions[user_id]["template_names"] = {str(i+1): str(t["id"]) for i, t in enumerate(templates)}
|
||||
sd_sessions[user_id]["template_menu_text"] = template_lines.strip()
|
||||
template_text = f"📋 <b>Выберите нужный шаблон:</b>\n\n{template_lines}"
|
||||
template_text = f"🎫 Режим создания заявки в Service Desk\n\nВыберите, пожалуйста, шаблон подходящий под вашу проблему\n\n{template_lines}"
|
||||
await msg.answer(template_text, parse_mode="html")
|
||||
msg.handled = True
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user