diff --git a/services/BotService.php b/services/BotService.php index 3cb7a0b..d06aefa 100644 --- a/services/BotService.php +++ b/services/BotService.php @@ -1193,23 +1193,6 @@ class BotService { } catch (Exception $e) { error_log('finishAttendConversation: releaseHold failed: ' . $e->getMessage()); } - - // Enviar automáticamente el menú de horario_asesor después de finalizar - try { - $horarioMenu = $this->db->fetch( - "SELECT id FROM menus WHERE name = :name AND is_active = 1", - ['name' => 'horario_asesor'] - ); - - if ($horarioMenu && !empty($horarioMenu['id'])) { - $this->showMenu($phoneNumber, $horarioMenu['id']); - error_log("[BotService] Sent horario_asesor menu to {$phoneNumber} after finishing attend"); - } else { - error_log("[BotService] horario_asesor menu not found for {$phoneNumber}"); - } - } catch (Exception $e) { - error_log('Failed to send horario_asesor menu: ' . $e->getMessage()); - } } catch (Exception $e) { error_log('finishAttendConversation failed: ' . $e->getMessage()); throw $e;