This commit is contained in:
Leifer Mendez
2022-04-27 21:32:29 +02:00
parent a1bf5ba5c2
commit 10e2b138d3
6 changed files with 193 additions and 137 deletions

1
app.js
View File

@@ -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);