#button not showing up
1 messages · Page 1 of 1 (latest)
relevant code / errors
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
its components not comments in .send()