#button not showing up

1 messages · Page 1 of 1 (latest)

foggy wind
#

my buttons are not showing up

vapid estuary
#

relevant code / errors

foggy wind
#

const discord = require("discord.js");

module.exports.run = async (client, message, args) => {

const row = new discord.MessageActionRow().addComponents(

    new discord.MessageButton()
        .setCustomId("map")
        .setLabel("MAP")
        .setStyle("PRIMARY")

);

message.channel.send({ content: "click on the button to go to the map", comments: [row] });

}

module.exports.help = {
name: "map"
}

#

no errors

vapid estuary
#

its components not comments in .send()