Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

discord button

const disbut = require("discord-buttons");

let button = new disbut.MessageButton()
  .setLabel("This is a button!")
  .setStyle("blurple");
  .setID("myid")

message.channel.send("Message with a button!", button);
Source by discord-buttons.js.org #
 
PREVIOUS NEXT
Tagged: #discord #button
ADD COMMENT
Topic
Name
8+6 =