AutoModerationRuleModifyBuilder
sealed class AutoModerationRuleModifyBuilder : AutoModerationRuleBuilder, AuditRequestBuilder<AutoModerationRuleModifyRequest> (source)
An AutoModerationRuleBuilder for building AutoModerationRuleModifyRequests.
Inheritors
Properties
Link copied to clipboard
The actions which will execute when the rule is triggered.
Link copied to clipboard
The rule event type.
Link copied to clipboard
The IDs of the channels that should not be affected by the rule (maximum of 50).
Link copied to clipboard
The IDs of the roles that should not be affected by the rule (maximum of 20).
Link copied to clipboard
The rule trigger type.
Functions
Link copied to clipboard
inline fun AutoModerationRuleBuilder.blockMessage(builder: BlockMessageAutoModerationActionBuilder.() -> Unit = {})
Add a BlockMessage action which will execute whenever the rule is triggered.
Link copied to clipboard
Exempt a channel from being affected by the rule (maximum of 50).
Link copied to clipboard
Exempt a role from being affected by the rule (maximum of 20).
Link copied to clipboard
inline fun AutoModerationRuleBuilder.sendAlertMessage(channelId: Snowflake, builder: SendAlertMessageAutoModerationActionBuilder.() -> Unit = {})
Add a SendAlertMessage action which will execute whenever the rule is triggered.
Link copied to clipboard