Skip to content

Commit 040c66a

Browse files
sdanialrazaJiralite
authored andcommitted
docs(ApplicationCommand): incorrect method in example (#10837)
1 parent 82378fc commit 040c66a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/discord.js/src/structures/ApplicationCommand.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ class ApplicationCommand extends Base {
312312
* @returns {Promise<ApplicationCommand>}
313313
* @example
314314
* // Edit the name localizations of this command
315-
* command.setLocalizedNames({
315+
* command.setNameLocalizations({
316316
* 'en-GB': 'test',
317317
* 'pt-BR': 'teste',
318318
* })

0 commit comments

Comments
 (0)