mysql working

This commit is contained in:
Leifer Mendez
2022-01-18 13:00:04 +01:00
parent 9a2ce98dfd
commit ffaa7b04a2
5 changed files with 24 additions and 5 deletions

7
app.js
View File

@@ -86,6 +86,13 @@ const listenMessage = () => client.on('message', async msg => {
}
return
}
if(process.env.DEFAULT_MESSAGE === 'true'){
console.log('hehehe',(process.env.DEFAULT_MESSAGE) , step)
const response = await responseMessages('DEFAULT')
await sendMessage(client, from, response.replyMessage, response.trigger);
return
}
});
/**