autoModerationRules property
ICache<Snowflake, IAutoModerationRule>
autoModerationRules
The cached auto moderation rules in the guild. An empty map is returned if none where fetched or added by events.
Implementation
ICache<Snowflake, IAutoModerationRule> get autoModerationRules;