mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-18 03:29:15 +00:00
14 lines
404 B
JavaScript
14 lines
404 B
JavaScript
const connectionReady = (cb = () =>{}) => {
|
|
console.log('Listo para escuchar mensajes')
|
|
console.log('El cliente esta listo!');
|
|
console.log('🔴 Escribe: /menu');
|
|
cb()
|
|
}
|
|
|
|
const connectionLost = (cb = () =>{}) => {
|
|
console.log('** Error de autentificacion vuelve a generar el QRCODE (Borrar el archivo session.json) **');
|
|
cb()
|
|
}
|
|
|
|
|
|
module.exports = {connectionReady, connectionLost} |