channel property
TextBasedChannel
get
channel
Implementation
TextBasedChannel get channel => guild != null
? guild!.channels.cache.getOrFail<TextBasedChannel>(_channelId)
: throw UnsupportedError('DM channel is not supported');