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

bug #4

Closed
Askeshine opened this issue May 7, 2022 · 12 comments
Closed

bug #4

Askeshine opened this issue May 7, 2022 · 12 comments

Comments

@Askeshine
Copy link

i se this , but nothing happends...

    case "test": {
      sendMessage(kevin, "Comando ejecutado");
      let embed = new WwebjsSender.MessageEmbed()
        .sizeEmbed(28)
        .setTitle("✅ | Successful process!")
        .setDescription("The process has been successful!")
        .addField("✔", "To confirm")
        .addField("❌", "To cancel")
        .addFields({
          name: "Now you have 2 buttons to choose!",
          value: "✔ or ❌",
        })
        .setFooter("WwebjsSender")
        .setTimestamp();

      let button1 = new WwebjsSender.MessageButton()
        .setCustomId("confirm")
        .setLabel("✔");

      let button2 = new WwebjsSender.MessageButton()
        .setCustomId("cancel")
        .setLabel("❌");

      WwebjsSender.send({
        client: client,
        number: from,
        embed: embed,
        button: [button1, button2],
      });
      break;
    }
@Askeshine
Copy link
Author

image

@xXDeathAbyssXx
Copy link
Owner

Hi!, you have md version?

@Askeshine
Copy link
Author

yes.

@xXDeathAbyssXx
Copy link
Owner

Buttons only work with non-md accounts sorry.

@xXDeathAbyssXx
Copy link
Owner

For now, use a old apk of whatsapp with no md, and use the buttons.

@leohturbo
Copy link

Can u tell me the non-md apk version please? Tks.

@xXDeathAbyssXx
Copy link
Owner

xXDeathAbyssXx commented May 8, 2022

You need normal or business?

@leohturbo
Copy link

leohturbo commented May 8, 2022 via email

@xXDeathAbyssXx
Copy link
Owner

@xXDeathAbyssXx
Copy link
Owner

Nothing more? ^^

@leohturbo
Copy link

leohturbo commented May 9, 2022 via email

@xXDeathAbyssXx
Copy link
Owner

Np! and @Askeshine same with you, you just need to install a old apk to no use md, and then you can use buttons, cya!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants