KeywordPresetAutoModerationRuleBehavior
The behavior of a KeywordPresetAutoModerationRule.
Inheritors
Properties
Link copied to clipboard
The behavior of the Guild which this rule belongs to.
Link copied to clipboard
The supplier used to request entities.
Link copied to clipboard
The rule trigger type.
Functions
Link copied to clipboard
Requests to get this behavior as a KeywordPresetAutoModerationRule.
Link copied to clipboard
Requests to get this behavior as a KeywordPresetAutoModerationRule. Returns null
if it wasn't found or if the rule isn't a KeywordPresetAutoModerationRule.
Link copied to clipboard
Requests to delete this AutoModerationRule.
Link copied to clipboard
inline suspend fun AutoModerationRuleBehavior.edit(builder: UntypedAutoModerationRuleModifyBuilder.() -> Unit): AutoModerationRule
Requests to edit this AutoModerationRule and returns the edited rule.
inline suspend fun KeywordPresetAutoModerationRuleBehavior.edit(builder: KeywordPresetAutoModerationRuleModifyBuilder.() -> Unit): KeywordPresetAutoModerationRule
Requests to edit this KeywordPresetAutoModerationRule and returns the edited rule.
Link copied to clipboard
Requests to get the Guild which this rule belongs to. Returns null
if it wasn't found.
Link copied to clipboard
abstract override fun withStrategy(strategy: EntitySupplyStrategy<*>): KeywordPresetAutoModerationRuleBehavior