Merge branch 'fix-buttons-list' of https://github.com/pedroslopez/whatsapp-web.js into fix-buttons-list

This commit is contained in:
purpshell
2022-08-23 20:47:22 +03:00
8 changed files with 136 additions and 10 deletions

View File

@@ -195,6 +195,7 @@ client.on('message', async msg => {
client.interface.openChatWindowAt(quotedMsg.id._serialized);
}
} else if (msg.body === '!buttons') {
// Limited to 5 buttons per message and limited to 3 buttons for each kind, in this case the third quick reply button will be removed
let button = new Buttons(
'Button body',
[