Discord-Buttons-Plugin icon indicating copy to clipboard operation
Discord-Buttons-Plugin copied to clipboard

Easiest medium to use buttons with any discord API wrapper

Discord Buttons Plugin

Easiest medium to use buttons with any discord API wrapper

    /* Generate 1st Button with "Yes" lable on it */
	 const button1 = new buttonClient.MessageButton()
	 .setLabel("Click me")
	 .setStyle("green")
	 .setID("click")
     /* Send Message with button */
     buttonClient.send("There will be a button below this message", { channel: "CHANNEL ID", buttons: [ [button] ]})
/* listen to interaction */
buttonClient.on("click", (inta) => inta.reply("Thanks for clicking me :3")) //emits whenever the button is clicked

L I N K S

  • 🐱‍💻 Guide/Docs : Documentation
  • 💬 Discord: https://withwin.in/dbd
  • 😎 Youtube: DBD AND MORE
  • 📺 Video Tutorial: https://www.youtube.com/watch?v=MDTCm2Xxu5c
  • ⚙ Tools Used: Node-Fetch | Events
  • 👩‍💻 Developer: CTK WARRIOR#7923

F E A T U R E S

  • Easy to handle and use
  • Made with simplicity
  • Less complexity

C O N T A C T