channel property

PartialChannel? channel

The channel in which the rule was triggered.

Implementation

PartialChannel? get channel => channelId == null ? null : gateway.client.channels[channelId!];