mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-18 11:39:15 +00:00
mysql working
This commit is contained in:
7
app.js
7
app.js
@@ -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
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user