feat: botones

This commit is contained in:
2023-03-01 01:15:06 -06:00
parent d99ab88836
commit f191fbf1fe
6 changed files with 247 additions and 777 deletions

View File

@@ -105,8 +105,8 @@ const sendMessageButton = async (client, number, text = null, actionButtons) =>
[...buttons],
remplazos(title, client),
remplazos(footer, client));
console.log("sendMessageButton:", button)
console.log(buttons)
console.log("sendMessageButton wwebjs:", button)
console.log(button.buttons)
client.sendMessage(number, button);
await readChat(number, message)
}, DELAY_TIME)