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));