diff --git a/packages/discord.js/src/structures/ApplicationCommand.js b/packages/discord.js/src/structures/ApplicationCommand.js index ff18bd67b..0dd9cee58 100644 --- a/packages/discord.js/src/structures/ApplicationCommand.js +++ b/packages/discord.js/src/structures/ApplicationCommand.js @@ -282,7 +282,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', * })