CommandOptionBuilder.role constructor
CommandOptionBuilder.role({})
Implementation
CommandOptionBuilder.role({
required this.name,
this.nameLocalizations,
required this.description,
this.descriptionLocalizations,
this.isRequired,
}) : type = CommandOptionType.role,
choices = null,
options = null,
channelTypes = null,
minValue = null,
maxValue = null,
minLength = null,
maxLength = null,
hasAutocomplete = null;