Expand description
Types for Auto Moderation.
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.
Structs§
- An action which will execute whenever a rule is triggered.
- Additional metadata needed during execution for a specific
AutoModerationActionType
. - Configured auto moderation rule.
- Additional data used to determine whether a rule should be triggered.
Enums§
- Type of
AutoModerationAction
. - Indicates in what event context a rule should be checked.
- Internally pre-defined wordsets which will be searched for in content.
- Characterizes the type of content which can trigger the rule.