CommandOption.channel constructor
CommandOption.channel(
- Display label,
- Display description, {
- List<
ChannelType> ? channels, - bool? required = false,
Implementation
factory CommandOption.channel(Display label, Display description, { List<ChannelType>? channels, bool? required = false }) {
return CommandOption(
label: label,
description: description,
type: OptionType.channel,
channels: channels,
required: required
);
}