builderbot icon indicating copy to clipboard operation
builderbot copied to clipboard

[🐬] Se puede usar el bot sin necesidad de usar un puerto y ejecutar httpServer?

Open alexandrecastillo opened this issue 1 year ago • 1 comments

¿Cual proveedor usaste?

bailey

¿Cual base de datos usaste?

memory

Conclusion de la prueba

buena

Describe tu caso

Hola mi duda es si se puede usar el bot sin necesidad de usar un puerto y ejecutar httpServer?

const { httpServer } = await createBot({
        flow: adapterFlow,
        provider: adapterProvider,
        database: adapterDB,
    })

    httpServer(+PORT) 

Me gustaría integrarlo en un proyecto y usarlo como una librería dentro de ella, sin usar el puerto y los métodos http. Veo que en la librería WhiskeySockets/Baileys no define ni usa un puerto.

Gracias por el gran trabajo.

¿Logs Importantes?

No response

Información Adicional

No response

¿Quieres que te mencionemos?

No response

alexandrecastillo avatar Oct 02 '24 06:10 alexandrecastillo

Hola. No, por defecto builderbot hace uso de un puerto para poder iniciarse. Puedes verlo acá

andresruizdev avatar Oct 04 '24 03:10 andresruizdev

¿Alguna novedad sobre esta ISSUE?

github-actions[bot] avatar Dec 03 '24 22:12 github-actions[bot]