mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
docs(ApplicationCommand): incorrect method in example (#10837)
This commit is contained in:
@@ -282,7 +282,7 @@ class ApplicationCommand extends Base {
|
|||||||
* @returns {Promise<ApplicationCommand>}
|
* @returns {Promise<ApplicationCommand>}
|
||||||
* @example
|
* @example
|
||||||
* // Edit the name localizations of this command
|
* // Edit the name localizations of this command
|
||||||
* command.setLocalizedNames({
|
* command.setNameLocalizations({
|
||||||
* 'en-GB': 'test',
|
* 'en-GB': 'test',
|
||||||
* 'pt-BR': 'teste',
|
* 'pt-BR': 'teste',
|
||||||
* })
|
* })
|
||||||
|
|||||||
Reference in New Issue
Block a user