I cant put emojis in buttons.
const appealEmbed = new EmbedBuilder()
.setTitle("Appeal A Moderator Action")
.setDescription("If you received a warning, mute, or ban and wish to appeal, use the buttons below based on your punishment.")
.addFields(
{ name: "
Warn Appeals", value: "Appeal if you received a warning." },
{ name: "
Mute Appeals", value: "Appeal if you were muted." },
{ name: "
Ban Appeals", value: "Appeal if you were banned." }
);
const warnButton = new ButtonBuilder()
.setCustomId("warnappeal")
.setLabel("Warn Appeals")
.setStyle(ButtonStyle.Secondary)
const muteButton = new ButtonBuilder()
.setCustomId("muteappeal")
.setLabel("Mute Appeals")
.setStyle(ButtonStyle.Secondary)
const banButton = new ButtonBuilder()
.setCustomId("banappeal")
.setLabel("Ban Appeals")
.setStyle(ButtonStyle.Secondary)
const row = new ActionRowBuilder()
.addComponents(warnButton, muteButton, banButton);
Will not work with the following error:
.setTitle("Appeal A Moderator Action")
.setDescription("If you received a warning, mute, or ban and wish to appeal, use the buttons below based on your punishment.")
.addFields(
{ name: "
{ name: "
{ name: "
);
const warnButton = new ButtonBuilder()
.setCustomId("warnappeal")
.setLabel("Warn Appeals")
.setStyle(ButtonStyle.Secondary)
const muteButton = new ButtonBuilder()
.setCustomId("muteappeal")
.setLabel("Mute Appeals")
.setStyle(ButtonStyle.Secondary)
const banButton = new ButtonBuilder()
.setCustomId("banappeal")
.setLabel("Ban Appeals")
.setStyle(ButtonStyle.Secondary)
const row = new ActionRowBuilder()
.addComponents(warnButton, muteButton, banButton);
Will not work with the following error: