execute(client: ExtendsClient, ctx: CommandContext) {
const click = new ButtonBuilder()
.setCustomId("btn1")
.setLabel("Click")
.setStyle(ButtonStyle.Primary)
const row = new ActionRowBuilder()
.addComponents(click);
ctx.reply({content: "Click sur le bouton pour essayer l'event :", components: [row]})
}
execute(client: ExtendsClient, ctx: CommandContext) {
const click = new ButtonBuilder()
.setCustomId("btn1")
.setLabel("Click")
.setStyle(ButtonStyle.Primary)
const row = new ActionRowBuilder()
.addComponents(click);
ctx.reply({content: "Click sur le bouton pour essayer l'event :", components: [row]})
}