Localizations not applied on slash command
Hello, i'm trying to create a weather command for multiple languages but the localization doesn't seem to apply. Here is my Slash command:
/ command data : https://pastebin.com/xeD6LF0f
According to the doc, i'm doing it right : https://discord.js.org/#/docs/main/stable/class/ApplicationCommand?scrollTo=setDescriptionLocalizations
I got not errors.
btw, how does the localization works ? Is it based on the server or user ?
PS: 'description' is required, so can't remove it or it screams :)
Pastebin
js slash command object weather - Pastebin.com
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Discord.js
Discord.js is a powerful node.js module that allows you to interact with the Discord API very easily. It takes a much more object-oriented approach than most other JS Discord libraries, making your bot's code significantly tidier and easier to comprehend.
3 Replies
i cant really help but im pretty sure localization is not rolled out completely on discord, do you have the build override?
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Nop I don't, i'll look into it, thanks for the informations
EDIT: It's good with this version, thank you the help !
yep, I still have to work with the "basic" descriptions/names (since it's not fully integrated)