setDescription method

CommandGroupBuilder setDescription(
  1. String description, {
  2. Translation? translation,
})

Implementation

CommandGroupBuilder setDescription(String description,
    {Translation? translation}) {
  _description = description;
  if (translation != null) {
    _descriptionLocalizations =
        _helper.extractTranslations('description', translation);
  }
  return this;
}