UntypedAutoModerationRuleModifyBuilder
An AutoModerationRuleModifyBuilder with an always null
triggerType.
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
This is always null
, the function that created this builder doesn't know the trigger type based on the type system.
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