mirror of
https://github.com/cheveguerra/bot-whatsapp.git
synced 2026-04-20 12:39:24 +00:00
rex
This commit is contained in:
1
app.js
1
app.js
@@ -93,6 +93,7 @@ const listenMessage = () => client.on('message', async msg => {
|
||||
*/
|
||||
|
||||
await sendMessage(client, from, response.replyMessage, response.trigger);
|
||||
|
||||
if(response.hasOwnProperty('actions')){
|
||||
const { actions } = response;
|
||||
await sendMessageButton(client, from, null, actions);
|
||||
|
||||
Reference in New Issue
Block a user