diff --git a/packages/discord.js/src/structures/ApplicationCommand.js b/packages/discord.js/src/structures/ApplicationCommand.js index 9490fab93..319dc2b72 100644 --- a/packages/discord.js/src/structures/ApplicationCommand.js +++ b/packages/discord.js/src/structures/ApplicationCommand.js @@ -312,7 +312,7 @@ class ApplicationCommand extends Base { * @returns {Promise} * @example * // Edit the name localizations of this command - * command.setLocalizedNames({ + * command.setNameLocalizations({ * 'en-GB': 'test', * 'pt-BR': 'teste', * })