From fefd3a8d7801490b8945042ad63fe1a02e5c7acc Mon Sep 17 00:00:00 2001 From: nickpons666 Date: Sat, 31 Jan 2026 02:19:46 -0600 Subject: [PATCH] =?UTF-8?q?Cambio=20de=20respuesta=20de=20PDF=20a=20tabla?= =?UTF-8?q?=20de=20texto=20en=20b=C3=BAsqueda=20por=20nombre=20del=20bot?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bot/webhook.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/bot/webhook.php b/bot/webhook.php index 5e40426..00bb8f8 100755 --- a/bot/webhook.php +++ b/bot/webhook.php @@ -122,10 +122,8 @@ class TurnoBot { log_timing("handleUpdate: DB query end"); if ($user) { - log_timing("handleUpdate: user found, sending PDF"); - $this->bot->sendMessage($chatId, "Generando PDF de turnos..."); - $this->bot->sendPDF($chatId, $user['id']); - log_timing("handleUpdate: PDF sent"); + log_timing("handleUpdate: user found, sending text turnos"); + $this->bot->sendMessage($chatId, $this->bot->getTurnosAyudante($user['nombre'])); } else { log_timing("handleUpdate: user not found, getting plain text turnos"); $this->bot->sendMessage($chatId, $this->bot->getTurnosAyudante($text));