docs(ApplicationCommand): incorrect method in example (#10837)

This commit is contained in:
Danial Raza
2025-04-16 19:26:28 +02:00
committed by Jiralite
parent 82378fc2e8
commit 040c66ae15

View File

@@ -312,7 +312,7 @@ class ApplicationCommand extends Base {
* @returns {Promise<ApplicationCommand>}
* @example
* // Edit the name localizations of this command
* command.setLocalizedNames({
* command.setNameLocalizations({
* 'en-GB': 'test',
* 'pt-BR': 'teste',
* })