description_localizations official for desktop ?
I have the same example as the discord api and it's not working, it's only for android ?
npm list discord.js and node node -v version?description_localizations options are gooddescription_localizations{
name: 'aa',
type: 1,
description: 'test1',
description_localizations: { 'en-US': 'test2' },
options: [],
dm_permission: true
}{
name: 'aa',
type: 1,
description: 'test1',
description_localizations: { 'en-US': 'test2' },
options: [],
dm_permission: true
}const { REST } = require('@discordjs/rest');
const { Routes } = require('discord.js');
const rest = new REST({ version: '10' }).setToken(this.client.config.token);
const commands = this.client.slashCommands.map(command => command.applicationCommandBody);
await rest.put(Routes.applicationGuildCommands(this.client.user.id, ''), { body: commands });const BaseCommand = require("../../Base/Command");
module.exports = class Aa extends BaseCommand {
constructor (client) {
super(client, {
filename: __filename,
description: 'test1',
description_localizations: {
'en-US': `test2`
},
});
}
async run (client, interaction) {
}
}name_localizations: {
'en-US': `hello`
},