From 040c66ae15fd3cc7cb40bdbb5384ede445c40973 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 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', * })