Cambio de respuesta de PDF a tabla de texto en búsqueda por nombre del bot
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user