diff --git a/packages/discord.js/src/structures/CommandInteractionOptionResolver.js b/packages/discord.js/src/structures/CommandInteractionOptionResolver.js index 621dbf44e..0776d025c 100644 --- a/packages/discord.js/src/structures/CommandInteractionOptionResolver.js +++ b/packages/discord.js/src/structures/CommandInteractionOptionResolver.js @@ -86,7 +86,7 @@ class CommandInteractionOptionResolver { * Gets an option by name and property and checks its type. * @param {string} name The name of the option. * @param {ApplicationCommandOptionType[]} allowedTypes The allowed types of the option. - * @param {string[]} properties The properties to check for for `required`. + * @param {string[]} properties The properties to check for `required`. * @param {boolean} required Whether to throw an error if the option is not found. * @returns {?CommandInteractionOption} The option, if found. * @private diff --git a/packages/discord.js/src/structures/ModalSubmitFields.js b/packages/discord.js/src/structures/ModalSubmitFields.js index c81bf011e..4c90aa909 100644 --- a/packages/discord.js/src/structures/ModalSubmitFields.js +++ b/packages/discord.js/src/structures/ModalSubmitFields.js @@ -72,7 +72,7 @@ class ModalSubmitFields { * * @param {string} customId The custom id of the component. * @param {ComponentType[]} allowedTypes The allowed types of the component. - * @param {string[]} properties The properties to check for for `required`. + * @param {string[]} properties The properties to check for `required`. * @param {boolean} required Whether to throw an error if the component value(s) are not found. * @returns {ModalData} The option, if found. * @private