const embed = new EmbedBuilder()
.setColor("#2f3136")
.setTitle("šµ **TICKETS - PURCHASE** šµ")
.setDescription("")
.setFooter({ text: 'Swapit - Market @ 2023', iconURL: 'https://media.discordapp.net/attachments/665912408396660746/1089603294751641720/swapitlogo.png?width=671&height=671' })
.setTimestamp()
// this will create buttons
const button = new ActionRowBuilder()
.addComponents(
new ButtonBuilder()
.setCustomId(`ticket-setup-${interaction.guild.id}-${category.id}`)
.setLabel('Create Ticket')
.setStyle(ButtonStyle.Danger),
);
const embed = new EmbedBuilder()
.setColor("#2f3136")
.setTitle("šµ **TICKETS - PURCHASE** šµ")
.setDescription("")
.setFooter({ text: 'Swapit - Market @ 2023', iconURL: 'https://media.discordapp.net/attachments/665912408396660746/1089603294751641720/swapitlogo.png?width=671&height=671' })
.setTimestamp()
// this will create buttons
const button = new ActionRowBuilder()
.addComponents(
new ButtonBuilder()
.setCustomId(`ticket-setup-${interaction.guild.id}-${category.id}`)
.setLabel('Create Ticket')
.setStyle(ButtonStyle.Danger),
);