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

This commit is contained in:
Danial Raza
2025-04-16 19:26:28 +02:00
committed by GitHub
parent 5c0b714557
commit 57c3da2e8e

View File

@@ -282,7 +282,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',
* })