Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Footer and Buttons are not working #65

Closed
pharmankur opened this issue Dec 12, 2023 · 5 comments
Closed

Footer and Buttons are not working #65

pharmankur opened this issue Dec 12, 2023 · 5 comments
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@pharmankur
Copy link

pharmankur commented Dec 12, 2023

Dear,
First of all Thanks a lot for creating this project. I am loving it 👍

Just a few things I observed not working as you have explained in redme
1] Footer -
When I do
npx mudslide@latest send me 'hello\nworld' --footer 'Bye!'

I get "hello world" as expected in 2 lines, but I do not see any "Bye"

2] Buttons -
When I do
npx mudslide@latest send me 'Everyone ready?' -b 'yes' -b 'no'

I get nothing ! ... Not even the message "Everyone ready?"

Pls check ...

@robvanderleek robvanderleek added the bug Something isn't working label Dec 13, 2023
@robvanderleek robvanderleek self-assigned this Dec 13, 2023
Copy link

Branch issue-65-Footer_and_Buttons_are_not_working created!

@robvanderleek
Copy link
Owner

Hi @pharmankur

Unfortunately, the WA library that this tool depends on (@whiskeysockets/baileys) dropped support for buttons (and footers). Please see this issue for more information: WhiskeySockets/Baileys#56 I think the reason that the support was dropped is a change by WA on their API/apps.

As I'm depending on the baileys library for connecting with the WA API, there's nothing I can do to fix it.
I've removed the footer and button options in the latest release, I will restore the options in case support through the baileys library is available again in the future.

KR, Rob

@pharmankur
Copy link
Author

Thanks for updating & removing button option [ which was not working anyways ].
But it was removed only from code under the hood !
npx mudslide@latest help still shows example as --> send me -b 'Yes' -b 'No' "Are you on your way?"
Pls update it in help as well !

Also if possible, in help, please elaborate examples of [options] of following commands
send-image [options] <recipient> <file>Send image file
send-file [options] <recipient> <file>

Copy link

Branch issue-65-Footer_and_Buttons_are_not_working created!

@robvanderleek robvanderleek added the documentation Improvements or additions to documentation label Dec 20, 2023
@robvanderleek
Copy link
Owner

Hi @pharmankur

I forgot to update the examples in the usage indeed 🤦 Thanks for reporting this!

Rob

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants