Commit inicial

This commit is contained in:
2022-12-08 16:53:35 -06:00
commit cf9daf2193
36 changed files with 11355 additions and 0 deletions

14
controllers/connection.js Normal file
View File

@@ -0,0 +1,14 @@
const connectionReady = (cb = () =>{}) => {
console.log('Listo para escuchar mensajes')
console.log('El cliente esta listo!');
console.log('🔴 Escribe: /hola');
cb()
}
const connectionLost = (cb = () =>{}) => {
console.log('** Error de autentificacion vuelve a generar el QRCODE (Borrar el archivo session.json) **');
cb()
}
module.exports = {connectionReady, connectionLost}