Application Commands API does not return localization
Is this intended ?
leaves
descriptionLocalized
and descriptionLocalization
undefined.11 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 OPThere's
with_localizations
option
Also descriptionLocalized
and descriptionLocalization
are not things, since this is a raw API call. Use snake_case
Where ist this option
:propertysignature: RequestData#query
[email protected]
Query string parameters to append to the called endpointYou set it as a query param
Ah Alright i will try
same result
Did you also consider this part
yeah i did. now i get informations. oh f me i thought that
as ApplicationCommand
would checkout since i saw most attributes match
what would be the right type for consuming this api?