setName/Description`Localizations`
Hello, I have a question for. setName/. setNameLocalizations, . setDescription/. setDescriptionLocalizations
is it possible to have . addChoices/. addChoicesLocalizations?
or I have to do something else to get the same results as the. setNameLocalizations/. setDescriptionLocalizations
8 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- β
Marked as resolved by OPif you have an answer Iβm happy to be @π | Homme Bleu it doesnβt bother me!
addChoices
takes this https://discord-api-types.dev/api/discord-api-types-v10/interface/APIApplicationCommandOptionChoice and as u can see there's name_localizations
propertythanks you β€οΈ
![No description](https://cdn.answeroverflow.com/1265102764820664402/image.png)
you may want to set
en-US
too en-GB
is only for Great Britain English and not many people use itItβs more convenient to use
en-US
, right?yes
most people use en-US which is United States English
thanks you