We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82378fc commit 040c66aCopy full SHA for 040c66a
packages/discord.js/src/structures/ApplicationCommand.js
@@ -312,7 +312,7 @@ class ApplicationCommand extends Base {
312
* @returns {Promise<ApplicationCommand>}
313
* @example
314
* // Edit the name localizations of this command
315
- * command.setLocalizedNames({
+ * command.setNameLocalizations({
316
* 'en-GB': 'test',
317
* 'pt-BR': 'teste',
318
* })
0 commit comments