const { Client, ModalSubmitInteraction, EmbedBuilder } = require("discord.js") module.exports = { name: "interactionCreate", async execute(interaction, client) { const { customId, channel, guild, User, fields } = interaction if (!interaction.isModalSubmit()) return; if (interaction.customId === 'profile-modal') { const orientation = interaction.fields.getTextInputValue('orientationInput'); const location = interaction.fields.getTextInputValue('locationInput'); const about = interaction.fields.getTextInputValue('aboutInput'); const Embed1 = new EmbedBuilder() .setColor("Green") .setTitle(' {`.username`} Profile') .setDescription('This is a profile system where people can get to know you a bit better and easier.') .addFields( { name: 'Age', value: 'Age' }, { name: 'Gender', value: 'Gender' }, { name: 'Location', value: 'Location' }, { name: 'Pronouns', value: 'Pronouns' }, { name: 'Orientation', value: 'Orientation' }, { name: 'Height', value: 'Height' }, { name: 'DM Status', value: 'DM Status' }, { name: 'Verification', value: 'Verification' }, { name: 'Dating Status', value: 'Dating Status' }, { name: 'Looking for', value: 'Looking for' }, { name: 'Hobbies', value: 'Hobbies' }, { name: 'About', value: 'About' } ) .setTimestamp() .setFooter({ text: 'Some footer text here' }); await interaction.reply({ content: 'Thank you for submmiting your profile!', embeds: [Embed1] }) } } }