AutoModerationRule
An instance of an Auto Moderation Rule.
Auto Moderation is a feature which allows each Guild to set up rules that trigger based on some criteria. For example, a rule can trigger whenever a message contains a specific keyword.
Rules can be configured to automatically execute actions whenever they trigger. For example, if a user tries to send a message which contains a certain keyword, a rule can trigger and block the message before it is sent.
Inheritors
Properties
The actions which will execute when the rule is triggered.
The behavior of the Member which first created this rule.
The rule event type.
The IDs of the GuildMessageChannels that should not be affected by the rule.
The behaviors of the GuildMessageChannels that should not be affected by the rule.
The IDs of the Roles that should not be affected by the rule.
The behaviors of the Roles that should not be affected by the rule.
The behavior of the Guild which this rule belongs to.
The supplier used to request entities.
The rule trigger type.
Functions
Requests to delete this AutoModerationRule.
Requests to edit this AutoModerationRule and returns the edited rule.
Requests to get the Guild which this rule belongs to. Returns null
if it wasn't found.