diff --git a/packages/discord.js/src/structures/AutocompleteInteraction.js b/packages/discord.js/src/structures/AutocompleteInteraction.js index e54a71f0b..4b7e39eee 100644 --- a/packages/discord.js/src/structures/AutocompleteInteraction.js +++ b/packages/discord.js/src/structures/AutocompleteInteraction.js @@ -86,7 +86,12 @@ class AutocompleteInteraction extends BaseInteraction { await this.client.rest.post(Routes.interactionCallback(this.id, this.token), { body: { type: InteractionResponseType.ApplicationCommandAutocompleteResult, - data: { choices: this.client.options.jsonTransformer(options) }, + data: { + choices: options.map(({ nameLocalizations, ...option }) => ({ + ...this.client.options.jsonTransformer(option), + name_localizations: nameLocalizations, + })), + }, }, auth: false, });