You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have use same example code. if I have send message with button then not working.
if I have remove button then send message
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],
});
The text was updated successfully, but these errors were encountered:
I have use same example code. if I have send message with button then not working.
if I have remove button then send message
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();
The text was updated successfully, but these errors were encountered: