Localize Command (Effect) — DiSky
Addon: DiSky · Category: Effect · Since: 5.0.0-a2
Syntax
localize [the] (name|description) of %types.applicationcommand/types.slashoption/types.subcommand/types.subcommandgroup/types.slashchoice% (in|for) [the] [locale] %text% (as|to) %text%Description
Sets the name or the description shown to users of a given Discord locale, for an application command, a slash option, a subcommand, a subcommand group or a choice (choices only have a name). Locales are Discord's codes ("fr", "de", "en-GB", "pt-BR", ...) or language names ("french").
Examples
set {_cmd} to a new slash command named "ban" with description "Ban someone"
localize the name of {_cmd} in "fr" to "bannir"
localize the description of {_cmd} in "fr" to "Bannir quelqu'un"