I'm trying to make the bot disable the button after it's used, but it isn't working, because it is saying that b.setDisabled
is not a function. How can I solve this?
const {
SlashCommandBuilder,
EmbedBuilder,
ButtonStyle,
ButtonBuilder,
ActionRowBuilder,
ActionRow,
} = require("discord.js");
module.exports = {
data: new SlashCommandBuilder()
.setName("highlow")
.setDescription("