const { SlashCommandBuilder } = require('@discordjs/builders'); const { MessageEmbed } = require('discord.js'); module.exports = { data: new SlashCommandBuilder() .setName('help') .setDescription('Shows the available commands'), async execute(interaction) { const embed = new MessageEmbed() .setTitle('Help') .setDescription('Here are the available commands:') .addFields( { name: '/help', value: 'Shows this message' }, { name: '/setup', value: 'Sets up the ticket system' }, { name: '/close', value: 'Closes the ticket' }, { name: '/authorticketpermission ', value: 'Gives a user permission to manage tickets' }, { name: '/add ', value: 'Adds a user to the ticket' } ) .setColor('BLUE'); await interaction.reply({ embeds: [embed], ephemeral: true }); } };