lor3512
DIAdiscord.js - Imagine an app
•Created by lor3512 on 4/7/2024 in #djs-questions
I cannout untimeout a user
19 replies
DIAdiscord.js - Imagine an app
•Created by lor3512 on 4/6/2024 in #djs-questions
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:
70 replies