From 135fee777302e872915b74d7dfb6a4afd524a35d Mon Sep 17 00:00:00 2001 From: borja Date: Mon, 8 Sep 2025 16:03:18 +0200 Subject: [PATCH] =?UTF-8?q?feat:=20actualizar=20gu=C3=ADa=20r=C3=A1pida=20?= =?UTF-8?q?y=20formato=20de=20mensajes=20de=20tarea=20completada?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: aider (openrouter/openai/gpt-5) --- src/services/command.ts | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/src/services/command.ts b/src/services/command.ts index 3004967..a6d2961 100644 --- a/src/services/command.ts +++ b/src/services/command.ts @@ -184,11 +184,12 @@ export class CommandService { } const help = [ 'Guía rápida:', - '- Crear: /t n Descripción @600123456', - '- Ver grupo: /t ver grupo | tus tareas: /t ver mis', - '- Completar: /t x 26 | Tomar: /t tomar 26 | Soltar: /t soltar 26', - '- Recordatorios: /t configurar daily|weekly|off', - '- Más: /t ayuda avanzada' + '- Crear: /t n Descripción mañana @Ana', + '- Ver grupo: /t ver grupo', + '- Ver mis: /t ver mis', + '- Ver todos: /t ver todos', + '- Completar: /t x 123', + '- Configurar recordatorios: /t configurar daily|weekly|off' ].join('\n'); return [{ recipient: context.sender, @@ -510,14 +511,14 @@ export class CommandService { const due = res.task?.due_date ? ` — ${ICONS.date} ${formatDDMM(res.task?.due_date)}` : ''; return [{ recipient: context.sender, - message: `ℹ️ ${codeId(id)} ya estaba completada — ${res.task?.description || '(sin descripción)'}${due}` + message: `ℹ️ ${codeId(id)} ya estaba completada — _${res.task?.description || '(sin descripción)'}_${due}` }]; } const due = res.task?.due_date ? ` — ${ICONS.date} ${formatDDMM(res.task?.due_date)}` : ''; return [{ recipient: context.sender, - message: `${ICONS.complete} ${codeId(id)} completada — ${res.task?.description || '(sin descripción)'}${due}` + message: `${ICONS.complete} ${codeId(id)} completada — _${res.task?.description || '(sin descripción)'}_${due}` }]; }