const { MessageEmbed } = require('discord.js') module.exports = { name: 'add-bot', description: 'Allows premium users to add thier bots', options: [{ name: 'name', type: 'STRING', description: 'Your Bot name', required: true, }, { name: 'id', type: 'STRING', description: 'Your bot id', required: true, }, { name: 'prefix', type: 'STRING', description: 'Your Bot prefix', required: true, }, { name: 'description', type: 'STRING', description: 'Give your bot description', required: true, }, { name: 'verified', type: 'STRING', description: 'Is your bot verified?', required: true, choices: [{ name: 'yes', value: 'It is verified', }, { name: 'no', value: 'It is not verified', }, ], } ], run: async (client, interaction, options) => { console.log(options); //interaction.followUp('Hello! ' + options[0].value + ' ' + options[1].value + ' ' + options[2].value + ' ' + options[3].value + ' ' + options[4].value) const appchannel = client.channels.cache.get('862625830014156810') const embed = new MessageEmbed() .setAuthor(interaction.user.tag, interaction.user.displayAvatarURL({ dynamic: true })) .setColor('BLUE') .setTitle('New Bot Application!') .addField('User:', `${interaction.user.tag} ||${interaction.user.id}|| `) .addField('Status:', 'Pending...') .setDescription(`1) **What is your Bot Name?**\n➥ ${options[0].value}\n2) **What is your Bot ID?**\n➥ ${options[1].value}\n3) **What is your bot's prefix?**\n➥ ${options[2].value}\n4) **Write a breif description of your bot?**\n➥ ${options[3].value}\n5) **Is your bot a verified bot?**\n➥ ${options[4].value}\n\n`) .setTimestamp() appchannel.send(embed) } }