channel property

Implementation

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