From 57c3da2e8e8ffa64390bf6e55cd32633d47faa85 Mon Sep 17 00:00:00 2001 From: Danial Raza Date: Wed, 16 Apr 2025 19:26:28 +0200 Subject: [PATCH] docs(ApplicationCommand): incorrect method in example (#10837) --- packages/discord.js/src/structures/ApplicationCommand.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', * })