description

abstract var description: String?(source)

Description of the option.
Must follow the Discord specifications, see the OptionData constructor for details.

If this description is omitted, a default localization is searched in the command localization bundles using the root locale, for example: MyCommands.json.
If none is found then it is defaulted to No Description.

This can be localized, see LocalizationFunction on how options are mapped, example: ban.options.user.description. This is optional if the parameter is not a slash command parameter.

See also