rulesChannel property

PartialTextChannel? get rulesChannel

The rules channel in a community server.

Implementation

PartialTextChannel? get rulesChannel => rulesChannelId == null
    ? null
    : manager.client.channels[rulesChannelId!] as PartialTextChannel?;