1//On your main file paste this to under the client
2require('discord-buttons')(client);
3
4//then come your command file
5const disbut = require("discord-buttons");
6
7//for more information
8'https://discord-buttons.js.org/'
1const disbut = require("discord-buttons");
2
3let button = new disbut.MessageButton()
4 .setLabel("This is a button!")
5 .setStyle("blurple");
6 .setID("myid")
7
8message.channel.send("Message with a button!", button);