DiscordAPIError[50035]: Invalid Form Body data.embeds[MESSAGE_CANNOT_USE_LEGACY_FIELDS_WITH_COMPONENTS_V2]: The 'embeds' field cannot be used when using MessageFlags.IS_COMPONENTS_V2 at handleErrors (/home/container/node_modules/@discordjs/rest/dist/index.js:748:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async BurstHandler.runRequest (/home/container/node_modules/@discordjs/rest/dist/index.js:852:23) at async _REST.request (/home/container/node_modules/@discordjs/rest/dist/index.js:1293:22) at async ChatInputCommandInteraction.reply (/home/container/node_modules/discord.js/src/structures/interfaces/InteractionResponses.js:194:22) at async Object.run (/home/container/structures/slashcommands/fun/image.js:329:25) at async Client. (/home/container/structures/events/client/interactionCreate.js:248:9) { requestBody: { files: [], json: { type: 4, data: [Object] } }, rawError: { message: 'Invalid Form Body', code: 50035, errors: { data: [Object] } }, code: 50035, status: 400, method: 'POST', url: 'https://discord.com/api/v10/interactions/1370639992010833980/aW50ZXJhY3Rpb246MTM3MDYzOTk5MjAxMDgzMzk4MDpNNnFsdHU4MjhpbEdMTFlwb25MWlhSOTlhTTBTTDdJTXdxUDFHSHVSUTBkcHhOMmFHWUVrUENjaXlSRlBERGRVaVBYY1dUbFFaN0xLSE1uSUVnOENjUlE1UVNXMkpLNTNiNUdFM3Z3UnUxM1JjTldlN0ZwelRueU1lYUVFS1IxbQ/callback?with_response=false' } const gallery = new MediaGalleryBuilder(); completedImages.forEach(img => { gallery.addItem( new MediaGalleryItemBuilder() .setDescription(`Generated by ${img.model}`) .setURL(`attachment://${img.attachmentName}`) ); });